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

Extend the E2E tests to be run on windows #430

Merged
merged 1 commit into from
Jan 9, 2025

Conversation

danivilla9
Copy link
Collaborator

Closes #382

@danivilla9 danivilla9 force-pushed the 382-automate-e2e-tests-windows branch 2 times, most recently from c8552f9 to 4bde536 Compare December 12, 2024 09:45
@danivilla9 danivilla9 marked this pull request as ready for review December 12, 2024 09:46
@danivilla9 danivilla9 force-pushed the 382-automate-e2e-tests-windows branch from a9eb7fb to 10c3944 Compare December 16, 2024 11:27
.github/workflows/pr-check.yaml Outdated Show resolved Hide resolved
.github/workflows/pr-check.yaml Show resolved Hide resolved
.github/workflows/pr-check.yaml Outdated Show resolved Hide resolved
.github/workflows/pr-check.yaml Outdated Show resolved Hide resolved
@danivilla9 danivilla9 force-pushed the 382-automate-e2e-tests-windows branch 2 times, most recently from d3dc56a to b15e700 Compare December 19, 2024 11:10
Copy link
Collaborator

@odockal odockal left a comment

Choose a reason for hiding this comment

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

Take a look at comments please.

@danivilla9 danivilla9 force-pushed the 382-automate-e2e-tests-windows branch from b15e700 to 0018721 Compare December 19, 2024 11:52
@danivilla9 danivilla9 force-pushed the 382-automate-e2e-tests-windows branch 2 times, most recently from 6061265 to 32a2535 Compare January 8, 2025 10:15
Copy link
Collaborator

@odockal odockal left a comment

Choose a reason for hiding this comment

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

Please adjust commands to use correct flag (instead of -Force -f)

Copy-Item -Path "./icon.png" -Destination ".\tests\playwright\output\crc-tests-pd\plugins\crcextension" -Force
Copy-Item -Path "./README.md" -Destination ".\tests\playwright\output\crc-tests-pd\plugins\crcextension" -Force
Copy-Item -Path "./dist" -Destination ".\tests\playwright\output\crc-tests-pd\plugins\crcextension" -Recurse -Force
'package.json', 'LICENSE', 'icon.png', 'README.md', 'dist' | % { cp $_ ./tests/playwright/output/crc-tests-pd/plugins/crcextension -Recurse -Force }
Copy link
Collaborator

Choose a reason for hiding this comment

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

you would need to use -r in cp since it is a directory

@danivilla9 danivilla9 force-pushed the 382-automate-e2e-tests-windows branch from 42977a4 to f4fb1ab Compare January 8, 2025 13:44
Copy link
Collaborator

@odockal odockal left a comment

Choose a reason for hiding this comment

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

@danivilla9 as talked about in chat, cp should work in powershell with these flags (https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.management/copy-item?view=powershell-7.4), so good to go.

Good work.

@odockal odockal merged commit 7d97c67 into crc-org:main Jan 9, 2025
7 checks passed
@danivilla9 danivilla9 deleted the 382-automate-e2e-tests-windows branch January 9, 2025 15:45
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.

[FEAT QE] - Automate the e2e tests on Windows platform using GitHub Actions
3 participants