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

chore: remove duplicate selector #1531

Merged
merged 1 commit into from
Nov 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion cypress/Shared/MeasuresPage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ export class MeasuresPage {

//Measure Version
public static readonly versionMeasuresSelectionButton = '[data-testid="version-type"]'
public static readonly versionMeasuresConfirmInput = '[data-testid="confirm-version-input"]'
public static readonly VersionDraftMsgs = '[data-testid="success-toast"]'
public static readonly VersionDraftErrMsgs = '[data-testid="error-toast"]'
public static readonly updateDraftedMeasuresTextBox = '[data-testid="measure-name-input"]'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ describe('Measure Sharing - Multiple instances', () => {
//Version the Measure
MeasuresPage.actionCenter('version')
cy.get(MeasuresPage.versionMeasuresSelectionButton).eq(0).type('{enter}')
cy.get(MeasuresPage.versionMeasuresConfirmInput).type('1.0.000')
cy.get(MeasuresPage.confirmMeasureVersionNumber).type('1.0.000')
cy.get(MeasuresPage.measureVersionContinueBtn).click()
cy.get(MeasuresPage.VersionDraftMsgs).should('contain.text', 'New version of measure is Successfully created')
MeasuresPage.validateVersionNumber(newMeasureName, versionNumber)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ describe('Measure Transfer - Multiple instances', () => {
//Version the Measure
MeasuresPage.actionCenter('version')
cy.get(MeasuresPage.versionMeasuresSelectionButton).eq(0).type('{enter}')
cy.get(MeasuresPage.versionMeasuresConfirmInput).type('1.0.000')
cy.get(MeasuresPage.confirmMeasureVersionNumber).type('1.0.000')
cy.get(MeasuresPage.measureVersionContinueBtn).click()
cy.get(MeasuresPage.VersionDraftMsgs).should('contain.text', 'New version of measure is Successfully created')
//MeasuresPage.validateVersionNumber(newMeasureName, versionNumber)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ describe('QDM Measure - Test case number on a Draft Measure', () => {
//Version the Measure
MeasuresPage.actionCenter('version')
cy.get(MeasuresPage.versionMeasuresSelectionButton).eq(0).type('{enter}')
cy.get(MeasuresPage.versionMeasuresConfirmInput).type('1.0.000')
cy.get(MeasuresPage.confirmMeasureVersionNumber).type('1.0.000')
cy.get(MeasuresPage.measureVersionContinueBtn).click()
cy.get(MeasuresPage.VersionDraftMsgs).should('contain.text', 'New version of measure is Successfully created')
MeasuresPage.validateVersionNumber(newMeasureName, versionNumber)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ describe('Qi Core Measure - Test case number on a Draft Measure', () => {
//Version the Measure
MeasuresPage.actionCenter('version')
cy.get(MeasuresPage.versionMeasuresSelectionButton).eq(0).type('{enter}')
cy.get(MeasuresPage.versionMeasuresConfirmInput).type('1.0.000')
cy.get(MeasuresPage.confirmMeasureVersionNumber).type('1.0.000')
cy.get(MeasuresPage.measureVersionContinueBtn).click()
cy.get(MeasuresPage.VersionDraftMsgs).should('contain.text', 'New version of measure is Successfully created')
MeasuresPage.validateVersionNumber(newMeasureName, versionNumber)
Expand Down