Skip to content

Upgrade test suite - #6

Merged
tfernandes-qa merged 6 commits into
mainfrom
upgrade-test-suite
Aug 13, 2026
Merged

Upgrade test suite#6
tfernandes-qa merged 6 commits into
mainfrom
upgrade-test-suite

Conversation

@tfernandes-qa

Copy link
Copy Markdown
Owner

feat: add Allure reporting to CI and admin/login authorization test cases.

… notification

- Add allure-robotframework listener and generate results in CI
- Publish Allure report (with history) to gh-pages on pushes to main
- Upload Allure report as PR artifact and attach single-file report to email
- Add contents: write permission needed for gh-pages deploy
- Fix xunit.xml artifact path (results/xunit.xml) and .gitignore for allure dirs
- Verify admin cannot access user home unrestricted vs regular user redirect
  to login on invalid session
- Verify regular user cannot access admin home page (known ServeRest issue)
- Verify duplicated email/product name are rejected on creation
- Verify double-clicking submit does not create duplicated users
- Add supporting keywords/resources: products_api.resource, session
  invalidation, alert message assertion, double-click helper
…calls

- simple-elf/allure-report-action's Docker build was failing
  (openjdk:8-jre-alpine removed from Docker Hub, action unmaintained)
- Generate report and restore history directly via Allure CLI instead
- Deploy allure-report/ (now includes history) to GitHub Pages
- store.robot: create products via API with unique, random names instead
  of relying on fixed items from the shared public ServeRest catalog,
  which can collide with clutter from other students/QA courses (observed
  a duplicated "Logitech MX Vertical" break a locator in strict mode);
  reload the page after creation so the new product's card renders before
  interacting with it

- admin.robot & store.robot: fix teardowns that were silently skipping
  cleanup — a test's own [Teardown] replaces the suite's Test Teardown
  instead of running alongside it, so "Cleanup Login Test" has to be
  chained explicitly; and Run Keywords needs "AND" even with a single
  keyword, otherwise its arguments get misread as extra keyword names to
  run

- uppercase all keyword arguments and local variables project-wide, for
  a consistent style
git fetch was failing with retries/delay on every run before the
first Pages deploy, since gh-pages doesn't exist yet; now checks
via git ls-remote first and skips the checkout step entirely
instead of letting it fail
@tfernandes-qa
tfernandes-qa merged commit 937c973 into main Aug 13, 2026
1 check passed
@tfernandes-qa
tfernandes-qa deleted the upgrade-test-suite branch August 13, 2026 12:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant