Skip to content

Commit 66772ae

Browse files
committed
added qase id
Signed-off-by: Isabela Guimaraes <isabela.guimaraes@suse.com>
1 parent 9350268 commit 66772ae

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

cypress/e2e/tests/pages/generic/diagnostic.spec.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import DiagnosticsPagePo from '@/cypress/e2e/po/pages/diagnostics.po';
22
import * as path from 'path';
3+
import { qase } from '@/cypress/support/qase';
34

45
const downloadsFolder = Cypress.config('downloadsFolder');
56
const downloadedFilename = path.join(downloadsFolder, 'rancher-diagnostic-data.json');
@@ -9,7 +10,7 @@ describe('Diagnostics Page', { tags: ['@generic', '@adminUser'] }, () => {
910
cy.login();
1011
});
1112

12-
it('User should be able to download the diagnostics package JSON', () => {
13+
qase(1454, it('User should be able to download the diagnostics package JSON', () => {
1314
// Ignore the focus-trap error that fires when the modal closes immediately
1415
// after the download is triggered (known cosmetic side-effect of the dialog)
1516
// Also the focus-trap error triggered when it can’t find any tabbable node inside its container
@@ -41,7 +42,7 @@ describe('Diagnostics Page', { tags: ['@generic', '@adminUser'] }, () => {
4142
cy.readFile(downloadedFilename).should('exist').then((file: any) => {
4243
expect(Object.keys(file).length).to.equal(4);
4344
});
44-
});
45+
}));
4546
afterEach(() => {
4647
// Keep the downloads directory clean between tests.
4748
cy.exec(`rm -f "${ downloadedFilename }"`, { failOnNonZeroExit: false });

0 commit comments

Comments
 (0)