-
Notifications
You must be signed in to change notification settings - Fork 0
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
360-fix-e2e-specs #371
base: main
Are you sure you want to change the base?
360-fix-e2e-specs #371
Commits on Feb 5, 2024
-
wip: fix the broken browse test
we're importing the waresFixture so that we can, access the new request page as an unauthorized user. - ref: #360 Co-authored-by: alisha evans <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d924336 - Browse repository at this point
Copy the full SHA d924336View commit details -
update the spec to account for the "new request" flow as an authorized and unauthorized user. left TODO's for dalton, adrian and jean to pick up when they return to this work.
Configuration menu - View commit details
-
Copy full SHA for 5dceb17 - Browse repository at this point
Copy the full SHA 5dceb17View commit details
Commits on Feb 6, 2024
-
Merge branch 'main' into 360-fix-e2e-specs
LEARN Academy authored and LEARN Academy committedFeb 6, 2024 Configuration menu - View commit details
-
Copy full SHA for 5c01246 - Browse repository at this point
Copy the full SHA 5c01246View commit details -
Restored previously working browse specs
Co-authored-by: Alisha Evans <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d309919 - Browse repository at this point
Copy the full SHA d309919View commit details
Commits on Feb 8, 2024
-
fix the broken browse page specs
the intercept command was not ever working. now, we are expecting to use the real api calls instead of mocked ones. this is to ensure that our critical paths of browsing and creating a request are always working, even when the api is updated. I also refactored part of the browse page specs into the home page spec, since that's the flow it was actually testing. also edited the cypress config to make it more dynamic, which will help with this code existing in the various client codebases.
Configuration menu - View commit details
-
Copy full SHA for 0997e35 - Browse repository at this point
Copy the full SHA 0997e35View commit details -
update the browse spec to check 10 services
there may potentially be hundreds of services on a page. to avoid a timeout, we will only choose from 10 services. this still ensures that a variety of dynamic forms are tested
Configuration menu - View commit details
-
Copy full SHA for 8d41406 - Browse repository at this point
Copy the full SHA 8d41406View commit details -
LEARN Academy authored and LEARN Academy committed
Feb 8, 2024 Configuration menu - View commit details
-
Copy full SHA for 573bee6 - Browse repository at this point
Copy the full SHA 573bee6View commit details -
able to log in a user on the browse spec
Co-authored-by: Dalton Mcauliffe <[email protected]> Co-authored-by: Adrian Carranza <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5ed092a - Browse repository at this point
Copy the full SHA 5ed092aView commit details -
Merge branch '360-fix-e2e-specs' of https://github.com/scientist-soft…
…serv/webstore into 360-fix-e2e-specs
Configuration menu - View commit details
-
Copy full SHA for 175c037 - Browse repository at this point
Copy the full SHA 175c037View commit details -
correctly testing that reaching a request page as a logged in user works
Co-authored-by: DaltonMcauliffe <[email protected]> Co-authored-by: Adrian Carranza <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2e0d5d5 - Browse repository at this point
Copy the full SHA 2e0d5d5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 326b54d - Browse repository at this point
Copy the full SHA 326b54dView commit details -
Configuration menu - View commit details
-
Copy full SHA for f222cac - Browse repository at this point
Copy the full SHA f222cacView commit details -
Configuration menu - View commit details
-
Copy full SHA for abcfa62 - Browse repository at this point
Copy the full SHA abcfa62View commit details
Commits on Feb 9, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a8eef12 - Browse repository at this point
Copy the full SHA a8eef12View commit details -
increase the default timeout for browse tests
loading a full browse page can take a while. the beachside biotech provider has 585 services and we're loading them all at once. certain services also have more complex dynamic forms, which could mean it takes longer for them to load. increasing the timeout for both operations prevents a failure due to time, opposed to assertion.
Configuration menu - View commit details
-
Copy full SHA for 9d1a8ac - Browse repository at this point
Copy the full SHA 9d1a8acView commit details -
alphabetize the env variables add the secrets to the github workflow so they can be picked up by CI
Configuration menu - View commit details
-
Copy full SHA for db10801 - Browse repository at this point
Copy the full SHA db10801View commit details -
Configuration menu - View commit details
-
Copy full SHA for b782b26 - Browse repository at this point
Copy the full SHA b782b26View commit details
Commits on Feb 12, 2024
-
specify the environment to use for cypress tests
currently, all cypress tests are failing in ci through github actions with the error below. ``` Error: [next-auth][error][NO_SECRET] https://next-auth.js.org/errors#no_secret Please define a `secret` in production. MissingSecret [MissingSecretError]: Please define a `secret` in production. ``` the value of `NEXTAUTH_SECRET` has been set in the staging and production github environments however. running the job in debug mode shows that the secret's value is returning as null. ``` ``` this commit is an attempt to get the tests to pass in ci by specifying the environment to use for cypress tests. hopefully it'll pick up the secret.
Configuration menu - View commit details
-
Copy full SHA for ae53512 - Browse repository at this point
Copy the full SHA ae53512View commit details -
add the
NEXTAUTH_URL
to the cypress jobattempt to get around new ci error: ``` [next-auth][warn][NEXTAUTH_URL] https://next-auth.js.org/warnings#nextauth_url ```
Configuration menu - View commit details
-
Copy full SHA for c988026 - Browse repository at this point
Copy the full SHA c988026View commit details
Commits on Feb 13, 2024
-
only request 10 services in the browse specs
intercepting the `useFilteredWares` hook to only request 10 services. we're still hitting the actual api, but hopefully this will speed things up, while still providing dynamic form variety.
Configuration menu - View commit details
-
Copy full SHA for 511f7d9 - Browse repository at this point
Copy the full SHA 511f7d9View commit details -
create the waitForElement command
attempt to get around long timeouts by waiting for an expected element to be on the page before continuing
Configuration menu - View commit details
-
Copy full SHA for 49989cb - Browse repository at this point
Copy the full SHA 49989cbView commit details -
Configuration menu - View commit details
-
Copy full SHA for d566d87 - Browse repository at this point
Copy the full SHA d566d87View commit details -
run cypress specs headed in ci
when running specs locally with "cypress open" (headed), they pass. they fail locally when running "cypress run"(headless) for timeout issues. ci also runs headless, and gets timeout issues. I'm updating the config to run headed in ci in an attempt to get them to pass. ref: cypress-io/github-action#403 (comment)
Configuration menu - View commit details
-
Copy full SHA for 3479ce0 - Browse repository at this point
Copy the full SHA 3479ce0View commit details -
pass cypress workflow specific command
the change in 3479ce0 still erred. I created a new script for the cypress workflow to call specifically. ref: cypress-io/github-action#403 (comment)
Configuration menu - View commit details
-
Copy full SHA for d09233e - Browse repository at this point
Copy the full SHA d09233eView commit details -
Configuration menu - View commit details
-
Copy full SHA for bd00f6c - Browse repository at this point
Copy the full SHA bd00f6cView commit details -
Configuration menu - View commit details
-
Copy full SHA for f5a064d - Browse repository at this point
Copy the full SHA f5a064dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 064dfa3 - Browse repository at this point
Copy the full SHA 064dfa3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7bdd439 - Browse repository at this point
Copy the full SHA 7bdd439View commit details
Commits on Feb 14, 2024
-
increase the defaultCommandTimeout
also wait for more elements to appear on the page before running assertions
Configuration menu - View commit details
-
Copy full SHA for a6de9cd - Browse repository at this point
Copy the full SHA a6de9cdView commit details
Commits on Feb 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 9ee6f90 - Browse repository at this point
Copy the full SHA 9ee6f90View commit details