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

8.4: fix e2e tests #3850

Merged
merged 7 commits into from
Sep 16, 2024
Merged

8.4: fix e2e tests #3850

merged 7 commits into from
Sep 16, 2024

Conversation

skurfuerst
Copy link
Member

This change fixes the TestCafe Setup

@github-actions github-actions bot added the 8.4 label Sep 13, 2024
@skurfuerst skurfuerst marked this pull request as ready for review September 13, 2024 18:32
@skurfuerst
Copy link
Member Author

skurfuerst commented Sep 13, 2024

Hm, I do not understand why the e2e tests still fail on CircleCI. Locally they run through now. @markusguenther @mhsdesign any ideas? :)

ERROR Cannot find the browser. "saucelabs:Firefox@latest:Windows 10" is neither a known browser alias, nor a path to an executable file.

( https://app.circleci.com/pipelines/github/neos/neos-ui/4693/workflows/a1011688-8c49-4a16-a12f-0dda25b22982/jobs/21390/artifacts )

All the best,
Sebastian

Copy link
Contributor

@grebaldi grebaldi left a comment

Choose a reason for hiding this comment

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

Hi @skurfuerst,

thanks a lot for taking care of this ❤️ I tested both make test-e2e-docker and make start-neos-dev-instance locally and they both work perfectly 👍

@skurfuerst:

ERROR Cannot find the browser. "saucelabs:Firefox@latest:Windows 10" is neither a known browser alias, nor a path to an executable file.

Since you didn't touch CI, I suspect the error is on saucelabs' end (Wasn't there some EOL announcement lately?). We probably need to revise our CI strategy for the E2E tests, so I'd say it's fine to ignore the red check as far as this PR is concerned.

@skurfuerst
Copy link
Member Author

Thanks @grebaldi for testing and giving feedback <3 <3

@skurfuerst skurfuerst merged commit 7528bb9 into 8.4 Sep 16, 2024
8 of 9 checks passed
@skurfuerst skurfuerst deleted the 84-fix-e2e-tests branch September 16, 2024 17:52
Copy link
Member

@mhsdesign mhsdesign left a comment

Choose a reason for hiding this comment

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

Post merge +1 :)

Thanks for updating our testcafe from 2.x to 3.x 🥳

@@ -72,7 +72,9 @@ export default class ImageEditor extends Component {
isAssetLoading: true
}, () => {
this.loadImage = loadImageMetadata(this.props.value.__identity).then(image => {
this.setState({image, isAssetLoading: false});
if (this._isMounted) {
Copy link
Member

Choose a reason for hiding this comment

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

this probably fixes the flacky cropping tests? I also experienced issues here ^^

* for example, this runs all tests in chrome:
`yarn run testcafe chrome Tests/IntegrationTests/Fixtures`
* for example, this runs all tests in chrome: (NOTE starting with Chrome 127, --disable-search-engine-choice-screen is needed)
`yarn run testcafe chrome:--disable-search-engine-choice-screen Tests/IntegrationTests/Fixtures/1Dimension`
Copy link
Member

Choose a reason for hiding this comment

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

thanks for the --disable-search-engine-choice-screen hint its really stupid of chrome :D

@skurfuerst
Copy link
Member Author

Will upmerge today

markusguenther pushed a commit that referenced this pull request Sep 24, 2024
8.4: fix e2e tests
# Conflicts:
#	packages/neos-ui-redux-store/src/CR/Nodes/selectors.ts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants