Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

15839 - E2e tests (mock data) for all of Org/Receiver/Sender Settings Pages #15921

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

penny-lischer
Copy link
Collaborator

@penny-lischer penny-lischer commented Sep 18, 2024

This PR ...

-E2e tests (mock data) for all of Org/Receiver/Sender Settings

  • Fixed last Mile Failures e2e broken test

Test Steps:

  1. Run e2e

Testing

  • Tested locally?
  • Ran ./prime test or ./gradlew testSmoke against local Docker ReportStream container?
  • (For Changes to /frontend-react/...) Ran npm run lint:write?
  • Added tests?

Linked Issues

… Pages

Fixed last Mile Failures e2e broken test
@penny-lischer penny-lischer added frontend Work Type label to flag work related to the front-end websites experience Team label to flag issues owned by the Experience Team labels Sep 18, 2024
@penny-lischer penny-lischer self-assigned this Sep 18, 2024
Copy link

github-actions bot commented Sep 18, 2024

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails

Scanned Manifest Files

test("nav contains the 'Admin tools' dropdown with 'Organization Settings' option", async ({
organizationPage,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the indentation got lost here

test.describe("sender user", () => {
test.use({ storageState: "e2e/.auth/sender.json" });
test("returns Page Not Found", async ({ organizationEditPage }) => {
await expect(organizationEditPage.page).toHaveTitle(/Page Not Found/);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this work? Technically the case is incorrect here.

Screenshot 2024-09-19 at 11 56 48 AM

});

test.describe("when there is no error", () => {
test("has correct title", async ({ organizationEditPage }) => {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we please use the basepage for Header and Footer?

Should be organizationEditPage.testHeader()

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, because this page does not have a heading.

Copy link

Branch deployed to Chromatic 🚀.

  • ⚠️ Detected 0 tests with visual changes.
  • ✅ All tests passed.

View via:

Copy link

sonarcloud bot commented Sep 19, 2024

Copy link

⚠️ Broken Links ⚠️

https://www.cdc.gov/od/foia

Error: Request failed with status code 403


https://www.cdc.gov/poxvirus/mpox/lab-personnel/report-results.html

Error: Request failed with status code 404


https://www.cdph.ca.gov/Programs/CID/DCDC/Pages/CalREDIE.aspx

Error: timeout of 10000ms exceeded


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
experience Team label to flag issues owned by the Experience Team frontend Work Type label to flag work related to the front-end websites
Projects
None yet
Development

Successfully merging this pull request may close these issues.

E2e tests (mock data) for all of Org/Receiver/Sender Settings Pages
3 participants