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

Added draft probes.ts file in e2e directory #3161

Open
wants to merge 6 commits into
base: staging
Choose a base branch
from

Conversation

scottslewis
Copy link

Added draft probes.ts file in e2e directory as per issue

#2886

responsible-ai-collaborative#2886

The probe tests in probes.ts use the (new) pages-tests.ts/testUrls
utility function (which is a generalized version of the previous
pages-tests.ts/testPages.

I've tried to have these tests be somewhat similar to the tests in
pages?.spec.ts.  Someone may want to refactor the tests for organization
and desired consistency, I'm +1 for any renaming/refactoring/etc that is
desired.

I don't know how/when it's desired to run these tests, and so need to
consult with team about that before changing the config and/or github
actions appropriately.  This is
paths: ['/apps/checklist/']
}
].forEach(({title, baseUrl, paths}) => {
test(title, () => testUrls(baseUrl, paths));
Copy link
Collaborator

Choose a reason for hiding this comment

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

Just checking: I believe testUrls() will run nested Playwright tests. What does the output of this test look like?

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.

2 participants