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

Add eshop UI tests on AWS #552

Merged
merged 67 commits into from
Sep 26, 2023
Merged

Add eshop UI tests on AWS #552

merged 67 commits into from
Sep 26, 2023

Conversation

willdavsmith
Copy link
Contributor

@willdavsmith willdavsmith commented Sep 11, 2023

Continuation of #378

  • Adding playwright UI tests for eshop on AWS
  • Updating purge azure test resources workflow

Example successful run: https://github.com/radius-project/samples/actions/runs/6162147507/job/16722985776?pr=552

https://github.com/radius-project/samples/actions/runs/6163158641/job/16726122506?pr=552

@willdavsmith willdavsmith changed the title [WIP/ Do not review] Adding eshop UI tests on AWS Adding eshop UI tests on AWS Sep 11, 2023
"@playwright/test": "^1.35.0",
"@types/node": "^20.6.0",
"@types/uuid": "^9.0.3",
"typescript": "^5.2.2"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Adding dev dependencies because I was getting typescript compile errors

expect(endpoint).toBeDefined()

// Remove quotes from the endpoint if they exist
endpoint = (endpoint as string).replace(/['"]+/g, '')
Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixing compile errors

@@ -0,0 +1,109 @@
{
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I generated this from tsc --init

@willdavsmith willdavsmith changed the title Adding eshop UI tests on AWS Add eshop UI tests on AWS Sep 14, 2023
Copy link
Contributor

@kachawla kachawla left a comment

Choose a reason for hiding this comment

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

@willdavsmith can you please fork out and merge workflow fixes to edge/0.25? These fixes are required to run samples workflows, so not blocking them on rest of the changes in this pr will help.

Copy link
Contributor

@AaronCrawfis AaronCrawfis left a comment

Choose a reason for hiding this comment

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

Overall looking really good. Just a couple small questions

.github/workflows/test.yaml Outdated Show resolved Hide resolved
.github/workflows/test.yaml Show resolved Hide resolved
.github/workflows/test.yaml Show resolved Hide resolved
@willdavsmith willdavsmith merged commit 17abd70 into edge Sep 26, 2023
11 checks passed
@willdavsmith willdavsmith deleted the willdavsmith/ui-test-eshop-aws branch September 26, 2023 09:51
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.

5 participants