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

chore: Serialise web and openfin e2e tests execution #2296

Merged
merged 1 commit into from
Oct 18, 2023

Conversation

stephan-thibodeau
Copy link
Contributor

@stephan-thibodeau stephan-thibodeau commented Oct 17, 2023

Serializing web -> openfin e2e tests on a PR basis to prevent intermittent concurrency issues that cause false negative results

Screenshot 2023-10-17 at 14 44 58

@stephan-thibodeau stephan-thibodeau changed the title chore: erialise web and openfin e2e tests execution chore: Serialise web and openfin e2e tests execution Oct 17, 2023
@stephan-thibodeau stephan-thibodeau marked this pull request as ready for review October 17, 2023 18:41
@github-actions
Copy link

(auto-deploy) A deployment has been created for this Pull Request

Preview links

As part of the code review process, please ensure that you test against the following

Version URL
Web https://web.env.reactivetrader.com/pull/2296
OpenFin - FX fins://openfin.env.reactivetrader.com/pull/2296/config/rt-fx.json
OpenFin - Credit fins://openfin.env.reactivetrader.com/pull/2296/config/rt-credit.json
OpenFin - Launcher fins://openfin.env.reactivetrader.com/pull/2296/config/launcher.json
OpenFin - Workspace fins://openfin.env.reactivetrader.com/pull/2296/workspace/config/workspace.json
Finsemble https://finsemble.env.reactivetrader.com/pull/2296

Performance

Please ensure that this PR does not degrade the performance of the UI. We should maintain a performance score of 95+.

https://developers.google.com/speed/pagespeed/insights/?url=https://web.env.reactivetrader.com/pull/2296

@stephan-thibodeau stephan-thibodeau self-assigned this Oct 17, 2023
Copy link
Contributor

@algreasley algreasley left a comment

Choose a reason for hiding this comment

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

Like you, I'd prefer if we could do these tests in parallel, especially as they are in a Pull Request workflow .. if this becomes onerous, we could consider bypassing the OpenFin tests, but make sure we run them on master (this would require a bit of gnarly logic in the branch workflow tho, so far from ideal)

@@ -148,7 +148,7 @@ test.describe("Credit", () => {

await sellSidePage.waitForSelector("text=New RFQ")

await sellSidePage.getByTestId("price-input").fill("100")
await sellSidePage.getByTestId("price-input").pressSequentially("100")
Copy link
Contributor

Choose a reason for hiding this comment

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

nice - are there any more lying around?
in some cases a .fill will be appropriate, but maybe as a parallel test, to check what happens if people paste values in - can't think of one off-hand in RT, mind you .. RA perhaps?
(I am referring to the Playwright 1.38 update video)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

There is no explicit test validating how pasting a value in a text field behave, either in RT or RA. There are still few .fill being used in RT. I will update them to .pressSequentially in a subsequent PR

@stephan-thibodeau stephan-thibodeau merged commit cb80227 into master Oct 18, 2023
11 checks passed
@stephan-thibodeau stephan-thibodeau deleted the chore/5615-serialise-web-openfin-e2e branch October 18, 2023 12:26
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