@@ -488,10 +488,8 @@ describe('Creating a new bounty', { tags: ['bounties'] }, () => {
488
488
}
489
489
} ) ;
490
490
491
- cy . get ( '#experience_level' ) . find ( '.vs__search' ) . click ( ) ;
492
- cy . contains ( 'Beginner' ) . click ( ) ;
493
- cy . get ( '#project_length' ) . find ( '.vs__search' ) . click ( ) ;
494
- cy . contains ( 'Hours' ) . click ( ) ;
491
+ cy . get ( '#experience_level' ) . find ( '.vs__search' ) . click ( ) . type ( 'Beginner{enter}' ) ;
492
+ cy . get ( '#project_length' ) . find ( '.vs__search' ) . click ( ) . type ( 'Hours{enter}' ) ;
495
493
496
494
cy . contains ( 'Next' ) . click ( ) ;
497
495
@@ -594,21 +592,19 @@ describe('Creating a new bounty', { tags: ['bounties'] }, () => {
594
592
}
595
593
} ) ;
596
594
597
- cy . get ( '#experience_level' ) . find ( '.vs__search' ) . click ( ) ;
598
- cy . contains ( 'Beginner' ) . click ( ) ;
599
- cy . get ( '#project_length' ) . find ( '.vs__search' ) . click ( ) ;
600
- cy . contains ( 'Hours' ) . click ( ) ;
595
+ cy . get ( '#experience_level' ) . find ( '.vs__search' ) . click ( ) . type ( 'Beginner{enter}' ) ;
596
+ cy . get ( '#project_length' ) . find ( '.vs__search' ) . click ( ) . type ( 'Hours{enter}' ) ;
601
597
602
598
cy . contains ( 'Next' ) . click ( ) ;
603
599
604
600
// Screen 2
605
601
cy . contains ( 'Create Custom Bounty' ) . click ( ) ;
606
602
607
603
cy . get ( '#new-bounty-custom-title' ) . type ( 'My Custom Bounty' ) ;
608
- cy . get ( '#new-bounty-custom-editor' ) . type ( 'My custom bounty long long long description' ) ;
604
+ cy . get ( '#new-bounty-custom-editor-ext ' ) . type ( 'My custom bounty long long long description' ) ;
609
605
610
- cy . get ( '#new-bounty-acceptace-criteria' ) . type ( 'Custom bounty acceptance criteria' ) ;
611
- cy . get ( '#new-bounty-resources' ) . type ( 'Custom bounty resource' ) ;
606
+ cy . get ( '#new-bounty-acceptace-criteria-editor-ext ' ) . type ( 'Custom bounty acceptance criteria' ) ;
607
+ cy . get ( '#new-bounty-resources-editor-ext ' ) . type ( 'Custom bounty resource' ) ;
612
608
cy . get ( '#new-bounty-organisation-url' ) . type ( 'https://github.com/gitcoinco/' ) ;
613
609
614
610
cy . get ( '.new-bounty-contact-details-form-0' ) . find ( '.new-bounty-contact-type' ) . find ( '.vs__search' ) . click ( ) . type ( 'Discord{enter}' ) ;
@@ -634,7 +630,7 @@ describe('Creating a new bounty', { tags: ['bounties'] }, () => {
634
630
/*
635
631
* Screen 4
636
632
*/
637
- it ( 'Should validated screen 4 ' , ( ) => {
633
+ it . only ( 'Should validated screen 4 ' , ( ) => {
638
634
cy . visit ( 'bounty/new' ) ;
639
635
cy . wait ( 1000 ) ;
640
636
@@ -652,21 +648,19 @@ describe('Creating a new bounty', { tags: ['bounties'] }, () => {
652
648
}
653
649
} ) ;
654
650
655
- cy . get ( '#experience_level' ) . find ( '.vs__search' ) . click ( ) ;
656
- cy . contains ( 'Beginner' ) . click ( ) ;
657
- cy . get ( '#project_length' ) . find ( '.vs__search' ) . click ( ) ;
658
- cy . contains ( 'Hours' ) . click ( ) ;
651
+ cy . get ( '#experience_level' ) . find ( '.vs__search' ) . click ( ) . type ( 'Beginner{enter}' ) ;
652
+ cy . get ( '#project_length' ) . find ( '.vs__search' ) . click ( ) . type ( 'Hours{enter}' ) ;
659
653
660
654
cy . contains ( 'Next' ) . click ( ) ;
661
655
662
656
// Screen 2
663
657
cy . contains ( 'Create Custom Bounty' ) . click ( ) ;
664
658
665
659
cy . get ( '#new-bounty-custom-title' ) . type ( 'My Custom Bounty' ) ;
666
- cy . get ( '#new-bounty-custom-editor' ) . type ( 'My custom bounty long long long description' ) ;
660
+ cy . get ( '#new-bounty-custom-editor-ext ' ) . type ( 'My custom bounty long long long description' ) ;
667
661
668
- cy . get ( '#new-bounty-acceptace-criteria' ) . type ( 'Custom bounty acceptance criteria' ) ;
669
- cy . get ( '#new-bounty-resources' ) . type ( 'Custom bounty resource' ) ;
662
+ cy . get ( '#new-bounty-acceptace-criteria-editor-ext ' ) . type ( 'Custom bounty acceptance criteria' ) ;
663
+ cy . get ( '#new-bounty-resources-editor-ext ' ) . type ( 'Custom bounty resource' ) ;
670
664
cy . get ( '#new-bounty-organisation-url' ) . type ( 'https://github.com/gitcoinco/' ) ;
671
665
672
666
cy . get ( '.new-bounty-contact-details-form-0' ) . find ( '.new-bounty-contact-type' ) . find ( '.vs__search' ) . click ( ) . type ( 'Discord{enter}' ) ;
0 commit comments