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

Setup CZI Playwright framework #806

Merged
merged 58 commits into from
Feb 28, 2023
Merged

Conversation

charles-testco
Copy link
Contributor

No description provided.

@charles-testco charles-testco marked this pull request as draft December 22, 2022 07:25
@charles-testco charles-testco removed the request for review from codemonkey800 December 22, 2022 07:25
frontend/eslint/e2e.js Outdated Show resolved Hide resolved
frontend/eslint/e2e.js Outdated Show resolved Hide resolved
frontend/eslint/e2e.js Outdated Show resolved Hide resolved
frontend/eslint/e2e.js Outdated Show resolved Hide resolved
frontend/eslint/e2e.js Outdated Show resolved Hide resolved
frontend/eslint/e2e.js Outdated Show resolved Hide resolved
@charles-testco charles-testco linked an issue Jan 23, 2023 that may be closed by this pull request
@charles-testco charles-testco marked this pull request as ready for review January 24, 2023 08:08
Copy link
Collaborator

@codemonkey800 codemonkey800 left a comment

Choose a reason for hiding this comment

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

thank you for this!! looking good overall, left a few comments 🙏

frontend/src/components/SearchPage/PluginFilterByForm.tsx Outdated Show resolved Hide resolved
.github/workflows/frontend-tests.yml Show resolved Hide resolved
frontend/e2e/utils/constants.ts Outdated Show resolved Hide resolved
frontend/e2e/utils/_selectors.ts Outdated Show resolved Hide resolved
frontend/e2e/utils/selectors.ts Outdated Show resolved Hide resolved
import { expect, test } from '@playwright/test';
import { satisfies } from '@renovate/pep440';

import { testPluginFilter } from '../../utils/filter';
Copy link
Collaborator

Choose a reason for hiding this comment

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

nit: can we change all the relative imports to absolute imports please? so it should be:

import { testPluginFilter } from '@/e2e/utils/filter';

relative imports within the same parent is fine though:

import { testPluginFilter } from './filter';
import { testPluginFilter } from './utils/filter';

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Playwright does not find imports this way and there have been extensive discussions on this. Will need to investigate further. I will suggest we fix this in a separate PR

frontend/e2e/setup/local.config.ts Outdated Show resolved Hide resolved
frontend/e2e/setup/prod.config.ts Outdated Show resolved Hide resolved
frontend/e2e/setup/staging.config.ts Outdated Show resolved Hide resolved
frontend/e2e/setup/globalSetup.ts Outdated Show resolved Hide resolved
@richaagarwal
Copy link
Collaborator

@charles-testco Is this PR still actively being worked on, or are yours and Victor's other branches replacing this? If this is still the main PR to get the framework integrated, just wanted to make sure there was a plan to address the feedback here. Thank you!

@charles-testco
Copy link
Contributor Author

@charles-testco Is this PR still actively being worked on, or are yours and Victor's other branches replacing this? If this is still the main PR to get the framework integrated, just wanted to make sure there was a plan to address the feedback here. Thank you!

Hi @richaagarwal this PR implements the bare framework and should go first. We will have few others that will follow today tomorrow but this is the base and needs to go first. I am looking at the feedbacks and hope to address all major ones by today.

@charles-testco
Copy link
Contributor Author

@codemonkey800 should I merge this PR now?

@charles-testco charles-testco merged commit c7fb8f2 into main Feb 28, 2023
@charles-testco charles-testco deleted the charles/setup-playwright branch February 28, 2023 21:02
@codemonkey800 codemonkey800 added cicd Release Label: Used for categorizing CICD changes in automated CI release notes testco-e2e labels Mar 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cicd Release Label: Used for categorizing CICD changes in automated CI release notes testco-e2e
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement CZI-wide Playwright framework
3 participants