Skip to content

Repo creation test #4

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

Open
wants to merge 1 commit into
base: kd/ci-playwright_go_test
Choose a base branch
from

Conversation

jackHay22
Copy link

Changes

  • Adds a basic e2e test for repo creation.

const page = await context.newPage();

const response = await page.goto('/repo/create');
await expect(response?.status()).toBe(200); // Status OK
Copy link

@kdumontnu kdumontnu Jul 8, 2022

Choose a reason for hiding this comment

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

Can we add some visual assertions to make sure the new repo page elements are loading correctly?

Maybe select some of (or all) of the dropdowns and make sure they appear? We've had issues with that breaking before.

Might want to look at the code for this and see if there is any javascript that's running and see if we can stress those code paths.

Choose a reason for hiding this comment

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

I wonder if it's reasonable to add ids to make the selectors a little less finicky

Copy link
Author

Choose a reason for hiding this comment

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

Many of the dropdowns have selectors that collide which makes it a little tricky. Adding ids would be useful for more comprehensive testing.

Choose a reason for hiding this comment

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

Yeah, I think we should add an ID where the selectors are more tricky.

Copy link
Author

Choose a reason for hiding this comment

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

Should we tackle that in this PR?

@kdumontnu kdumontnu force-pushed the kd/ci-playwright_go_test branch 3 times, most recently from a538f06 to a18ed34 Compare September 1, 2022 03:21
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