@@ -498,15 +498,15 @@ describe('Projects', { disableAutoLogin: true }, () => {
498
498
projects
499
499
. getResourceMoveModal ( )
500
500
. should ( 'be.visible' )
501
- . find ( 'button:contains(" Move workflow") ' )
501
+ . contains ( 'button' , ' Move workflow')
502
502
. should ( 'be.disabled' ) ;
503
503
projects . getProjectMoveSelect ( ) . click ( ) ;
504
504
getVisibleSelect ( )
505
505
. find ( 'li' )
506
506
. should ( 'have.length' , 5 )
507
507
. filter ( ':contains("Project 1")' )
508
508
. click ( ) ;
509
- projects . getResourceMoveModal ( ) . find ( 'button:contains(" Move workflow") ' ) . click ( ) ;
509
+ projects . getResourceMoveModal ( ) . contains ( 'button' , ' Move workflow') . click ( ) ;
510
510
clearNotifications ( ) ;
511
511
512
512
workflowsPage . getters
@@ -524,15 +524,15 @@ describe('Projects', { disableAutoLogin: true }, () => {
524
524
projects
525
525
. getResourceMoveModal ( )
526
526
. should ( 'be.visible' )
527
- . find ( 'button:contains(" Move workflow") ' )
527
+ . contains ( 'button' , ' Move workflow')
528
528
. should ( 'be.disabled' ) ;
529
529
projects . getProjectMoveSelect ( ) . click ( ) ;
530
530
getVisibleSelect ( )
531
531
. find ( 'li' )
532
532
. should ( 'have.length' , 5 )
533
533
. filter ( ':contains("Project 2")' )
534
534
. click ( ) ;
535
- projects . getResourceMoveModal ( ) . find ( 'button:contains(" Move workflow") ' ) . click ( ) ;
535
+ projects . getResourceMoveModal ( ) . contains ( 'button' , ' Move workflow') . click ( ) ;
536
536
537
537
// Move the workflow from Project 2 to a member user
538
538
projects . getMenuItems ( ) . last ( ) . click ( ) ;
@@ -544,7 +544,7 @@ describe('Projects', { disableAutoLogin: true }, () => {
544
544
projects
545
545
. getResourceMoveModal ( )
546
546
. should ( 'be.visible' )
547
- . find ( 'button:contains(" Move workflow") ' )
547
+ . contains ( 'button' , ' Move workflow')
548
548
. should ( 'be.disabled' ) ;
549
549
projects . getProjectMoveSelect ( ) . click ( ) ;
550
550
getVisibleSelect ( )
@@ -553,7 +553,7 @@ describe('Projects', { disableAutoLogin: true }, () => {
553
553
. filter ( `:contains("${ INSTANCE_MEMBERS [ 0 ] . email } ")` )
554
554
. click ( ) ;
555
555
556
- projects . getResourceMoveModal ( ) . find ( 'button:contains(" Move workflow") ' ) . click ( ) ;
556
+ projects . getResourceMoveModal ( ) . contains ( 'button' , ' Move workflow') . click ( ) ;
557
557
workflowsPage . getters . workflowCards ( ) . should ( 'have.length' , 1 ) ;
558
558
559
559
// Move the workflow from member user back to Home
@@ -569,7 +569,7 @@ describe('Projects', { disableAutoLogin: true }, () => {
569
569
projects
570
570
. getResourceMoveModal ( )
571
571
. should ( 'be.visible' )
572
- . find ( 'button:contains(" Move workflow") ' )
572
+ . contains ( 'button' , ' Move workflow')
573
573
. should ( 'be.disabled' ) ;
574
574
projects . getProjectMoveSelect ( ) . click ( ) ;
575
575
getVisibleSelect ( )
@@ -578,7 +578,7 @@ describe('Projects', { disableAutoLogin: true }, () => {
578
578
. filter ( `:contains("${ INSTANCE_OWNER . email } ")` )
579
579
. click ( ) ;
580
580
581
- projects . getResourceMoveModal ( ) . find ( 'button:contains(" Move workflow") ' ) . click ( ) ;
581
+ projects . getResourceMoveModal ( ) . contains ( 'button' , ' Move workflow') . click ( ) ;
582
582
clearNotifications ( ) ;
583
583
workflowsPage . getters
584
584
. workflowCards ( )
@@ -596,15 +596,15 @@ describe('Projects', { disableAutoLogin: true }, () => {
596
596
projects
597
597
. getResourceMoveModal ( )
598
598
. should ( 'be.visible' )
599
- . find ( 'button:contains(" Move credential") ' )
599
+ . contains ( 'button' , ' Move credential')
600
600
. should ( 'be.disabled' ) ;
601
601
projects . getProjectMoveSelect ( ) . click ( ) ;
602
602
getVisibleSelect ( )
603
603
. find ( 'li' )
604
604
. should ( 'have.length' , 5 )
605
605
. filter ( ':contains("Project 2")' )
606
606
. click ( ) ;
607
- projects . getResourceMoveModal ( ) . find ( 'button:contains(" Move credential") ' ) . click ( ) ;
607
+ projects . getResourceMoveModal ( ) . contains ( 'button' , ' Move credential') . click ( ) ;
608
608
clearNotifications ( ) ;
609
609
credentialsPage . getters . credentialCards ( ) . should ( 'not.have.length' ) ;
610
610
@@ -619,15 +619,15 @@ describe('Projects', { disableAutoLogin: true }, () => {
619
619
projects
620
620
. getResourceMoveModal ( )
621
621
. should ( 'be.visible' )
622
- . find ( 'button:contains(" Move credential") ' )
622
+ . contains ( 'button' , ' Move credential')
623
623
. should ( 'be.disabled' ) ;
624
624
projects . getProjectMoveSelect ( ) . click ( ) ;
625
625
getVisibleSelect ( )
626
626
. find ( 'li' )
627
627
. should ( 'have.length' , 5 )
628
628
. filter ( `:contains("${ INSTANCE_ADMIN . email } ")` )
629
629
. click ( ) ;
630
- projects . getResourceMoveModal ( ) . find ( 'button:contains(" Move credential") ' ) . click ( ) ;
630
+ projects . getResourceMoveModal ( ) . contains ( 'button' , ' Move credential') . click ( ) ;
631
631
credentialsPage . getters . credentialCards ( ) . should ( 'have.length' , 1 ) ;
632
632
633
633
// Move the credential from admin user back to instance owner
@@ -641,15 +641,15 @@ describe('Projects', { disableAutoLogin: true }, () => {
641
641
projects
642
642
. getResourceMoveModal ( )
643
643
. should ( 'be.visible' )
644
- . find ( 'button:contains(" Move credential") ' )
644
+ . contains ( 'button' , ' Move credential')
645
645
. should ( 'be.disabled' ) ;
646
646
projects . getProjectMoveSelect ( ) . click ( ) ;
647
647
getVisibleSelect ( )
648
648
. find ( 'li' )
649
649
. should ( 'have.length' , 5 )
650
650
. filter ( `:contains("${ INSTANCE_OWNER . email } ")` )
651
651
. click ( ) ;
652
- projects . getResourceMoveModal ( ) . find ( 'button:contains(" Move credential") ' ) . click ( ) ;
652
+ projects . getResourceMoveModal ( ) . contains ( 'button' , ' Move credential') . click ( ) ;
653
653
654
654
clearNotifications ( ) ;
655
655
@@ -666,15 +666,15 @@ describe('Projects', { disableAutoLogin: true }, () => {
666
666
projects
667
667
. getResourceMoveModal ( )
668
668
. should ( 'be.visible' )
669
- . find ( 'button:contains(" Move credential") ' )
669
+ . contains ( 'button' , ' Move credential')
670
670
. should ( 'be.disabled' ) ;
671
671
projects . getProjectMoveSelect ( ) . click ( ) ;
672
672
getVisibleSelect ( )
673
673
. find ( 'li' )
674
674
. should ( 'have.length' , 5 )
675
675
. filter ( ':contains("Project 1")' )
676
676
. click ( ) ;
677
- projects . getResourceMoveModal ( ) . find ( 'button:contains(" Move credential") ' ) . click ( ) ;
677
+ projects . getResourceMoveModal ( ) . contains ( 'button' , ' Move credential') . click ( ) ;
678
678
679
679
projects . getMenuItems ( ) . first ( ) . click ( ) ;
680
680
projects . getProjectTabCredentials ( ) . click ( ) ;
@@ -721,15 +721,15 @@ describe('Projects', { disableAutoLogin: true }, () => {
721
721
projects
722
722
. getResourceMoveModal ( )
723
723
. should ( 'be.visible' )
724
- . find ( 'button:contains(" Move workflow") ' )
724
+ . contains ( 'button' , ' Move workflow')
725
725
. should ( 'be.disabled' ) ;
726
726
projects . getProjectMoveSelect ( ) . click ( ) ;
727
727
getVisibleSelect ( )
728
728
. find ( 'li' )
729
729
. should ( 'have.length' , 4 )
730
730
. filter ( ':contains("Project 1")' )
731
731
. click ( ) ;
732
- projects . getResourceMoveModal ( ) . find ( 'button:contains(" Move workflow") ' ) . click ( ) ;
732
+ projects . getResourceMoveModal ( ) . contains ( 'button' , ' Move workflow') . click ( ) ;
733
733
734
734
workflowsPage . getters
735
735
. workflowCards ( )
0 commit comments