Issue #14: Done.

This commit is contained in:
chiayin
2023-10-04 14:04:45 +08:00
parent a25290f4db
commit 240f68a73e
2 changed files with 10 additions and 10 deletions

View File

@@ -60,7 +60,7 @@ describe('Save Log and Filter', ()=>{
it('Sequence, Start', () => {
// select radio
cy.get('input#Sequence0').should('be.checked'); // 選取 Radio 'Sequence'
cy.contains('label', 'Start activity / End activity') // 選取 Radio 'Have activity(s)'
cy.contains('label', 'Start & End') // 選取 Radio 'Have activity(s)'
.prev(2)
.find('input')
.should('have.attr', 'type', 'radio') // select the previous element
@@ -98,7 +98,7 @@ describe('Save Log and Filter', ()=>{
it('Sequence, End', () => {
// select radio
cy.get('input#Sequence0').should('be.checked'); // 選取 Radio 'Sequence'
cy.contains('label', 'Start activity / End activity') // 選取 Radio 'Have activity(s)'
cy.contains('label', 'Start & End') // 選取 Radio 'Have activity(s)'
.prev(2)
.find('input')
.should('have.attr', 'type', 'radio') // select the previous element
@@ -137,7 +137,7 @@ describe('Save Log and Filter', ()=>{
it('Sequence, Start & End', () => {
// select radio
cy.get('input#Sequence0').should('be.checked'); // 選取 Radio 'Sequence'
cy.contains('label', 'Start activity / End activity') // 選取 Radio 'Have activity(s)'
cy.contains('label', 'Start & End') // 選取 Radio 'Have activity(s)'
.prev(2)
.find('input')
.should('have.attr', 'type', 'radio') // select the previous element