-
Notifications
You must be signed in to change notification settings - Fork 364
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
test: [M3-8756] - Fix Cypress SMTP support ticket test failure #11106
test: [M3-8756] - Fix Cypress SMTP support ticket test failure #11106
Conversation
cy.visitWithLogin('/support/tickets'); | ||
cy.visitWithLogin(`/linodes/${mockLinode.id}`); | ||
cy.findByText('open a support ticket').should('be.visible').click(); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Beyond this point, the only real change is replacing linode
with mockLinode
in a few places -- the diff is only big because of the whitespace change stemming from the removal of cy.defer().then(() => {...})
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Coverage Report: ✅ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Sorry, should have made these changes as part of the original PR!
Cloud Manager E2E
|
Project |
Cloud Manager E2E
|
Run status |
|
Run duration | 27m 49s |
Commit |
|
Committer | jdamore-linode |
View all properties for this run ↗︎ |
Test results | |
---|---|
|
1
|
|
5
|
|
2
|
|
0
|
|
434
|
Tests for review
cypress/e2e/core/oneClickApps/one-click-apps.spec.ts • 1 failed test
Test | Artifacts | |
---|---|---|
OneClick Apps (OCA) > Lists all the OneClick Apps |
Screenshots
Video
|
objectStorageGen2/bucket-create-gen2.spec.ts • 2 flaky tests
linodes/rebuild-linode.spec.ts • 1 flaky test
Test | Artifacts | |
---|---|---|
rebuild linode > cannot rebuild a provisioning linode |
Screenshots
Video
|
placementGroups/delete-placement-groups.spec.ts • 1 flaky test
Test | Artifacts | |
---|---|---|
Placement Group deletion > can delete with Linodes assigned when unexpected error show up and retry |
Screenshots
Video
|
kubernetes/smoke-lke-create.spec.ts • 1 flaky test
Test | Artifacts | |
---|---|---|
LKE Create Cluster > Simple Page Check |
Screenshots
Video
|
Description 📝
This is a quick fix to get the support ticket
can create an SMTP support ticket
test passing. With today's API release, we introduced a new SMTP Linode capability, and because our test creates a real Linode (which now has this new capability), the SMTP support ticket banner stopped appearing.This change fixes the test by using a mock Linode that is lacking the SMTP capability.
Changes 🔄
How to test 🧪
This test is currently failing 100% of the time across all branches, so we can rely on CI for this. The test can be run locally, however, with this command:
yarn cy:run -s "cypress/e2e/core/helpAndSupport/open-support-ticket.spec.ts"
As an Author I have considered 🤔
Check all that apply