File tree 7 files changed +13
-13
lines changed
7 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 33
33
34
34
it "closing the modal keeps query params" do
35
35
within ( "dialog" ) { click_on "Cancel" }
36
- expect ( page ) . not_to have_selector ( "dialog" )
36
+ expect ( page ) . not_to have_selector ( "dialog" , wait : 5 )
37
37
expect ( page . current_url ) . to include ( query )
38
38
end
39
39
76
76
77
77
it "closing the modal keeps query params" do
78
78
within ( "dialog" ) { click_on "Cancel" }
79
- expect ( page ) . not_to have_selector ( "dialog" )
79
+ expect ( page ) . not_to have_selector ( "dialog" , wait : 5 )
80
80
expect ( page . current_url ) . to include ( query )
81
81
end
82
82
Original file line number Diff line number Diff line change 33
33
34
34
it "closing the modal keeps query params" do
35
35
within ( "dialog" ) { click_on "Cancel" }
36
- expect ( page ) . not_to have_selector ( "dialog" )
36
+ expect ( page ) . not_to have_selector ( "dialog" , wait : 5 )
37
37
expect ( page . current_url ) . to include ( query )
38
38
end
39
39
73
73
74
74
it "closing the modal keeps query params" do
75
75
within ( "dialog" ) { click_on "Cancel" }
76
- expect ( page ) . not_to have_selector ( "dialog" )
76
+ expect ( page ) . not_to have_selector ( "dialog" , wait : 5 )
77
77
expect ( page . current_url ) . to include ( query )
78
78
end
79
79
Original file line number Diff line number Diff line change 33
33
34
34
it "closing the modal keeps query params" do
35
35
within ( "dialog" ) { click_on "Cancel" }
36
- expect ( page ) . not_to have_selector ( "dialog" )
36
+ expect ( page ) . not_to have_selector ( "dialog" , wait : 5 )
37
37
expect ( page . current_url ) . to include ( query )
38
38
end
39
39
75
75
76
76
it "closing the modal keeps query params" do
77
77
within ( "dialog" ) { click_on "Cancel" }
78
- expect ( page ) . not_to have_selector ( "dialog" )
78
+ expect ( page ) . not_to have_selector ( "dialog" , wait : 5 )
79
79
expect ( page . current_url ) . to include ( query )
80
80
end
81
81
Original file line number Diff line number Diff line change 61
61
62
62
it "closing the modal keeps query params" do
63
63
within ( "dialog" ) { click_on "Cancel" }
64
- expect ( page ) . not_to have_selector ( "dialog" )
64
+ expect ( page ) . not_to have_selector ( "dialog" , wait : 5 )
65
65
expect ( page . current_url ) . to include ( query )
66
66
end
67
67
130
130
131
131
it "closing the modal keeps query params" do
132
132
within ( "dialog" ) { click_on "Cancel" }
133
- expect ( page ) . not_to have_selector ( "dialog" )
133
+ expect ( page ) . not_to have_selector ( "dialog" , wait : 5 )
134
134
expect ( page . current_url ) . to include ( query )
135
135
end
136
136
Original file line number Diff line number Diff line change 33
33
34
34
it "closing the modal keeps query params" do
35
35
within ( "dialog" ) { click_on "Cancel" }
36
- expect ( page ) . not_to have_selector ( "dialog" )
36
+ expect ( page ) . not_to have_selector ( "dialog" , wait : 5 )
37
37
expect ( page . current_url ) . to include ( query )
38
38
end
39
39
73
73
74
74
it "closing the modal keeps query params" do
75
75
within ( "dialog" ) { click_on "Cancel" }
76
- expect ( page ) . not_to have_selector ( "dialog" )
76
+ expect ( page ) . not_to have_selector ( "dialog" , wait : 5 )
77
77
expect ( page . current_url ) . to include ( query )
78
78
end
79
79
Original file line number Diff line number Diff line change 33
33
34
34
it "closing the modal keeps query params" do
35
35
within ( "dialog" ) { click_on "Cancel" }
36
- expect ( page ) . not_to have_selector ( "dialog" )
36
+ expect ( page ) . not_to have_selector ( "dialog" , wait : 5 )
37
37
expect ( page . current_url ) . to include ( query )
38
38
end
39
39
73
73
74
74
it "closing the modal keeps query params" do
75
75
within ( "dialog" ) { click_on "Cancel" }
76
- expect ( page ) . not_to have_selector ( "dialog" )
76
+ expect ( page ) . not_to have_selector ( "dialog" , wait : 5 )
77
77
expect ( page . current_url ) . to include ( query )
78
78
end
79
79
Original file line number Diff line number Diff line change 35
35
36
36
it "closing the modal keeps query params" do
37
37
within ( "dialog" ) { click_on "Cancel" }
38
- expect ( page ) . not_to have_selector ( "dialog" )
38
+ expect ( page ) . not_to have_selector ( "dialog" , wait : 5 )
39
39
expect ( page . current_url ) . to include ( query )
40
40
end
41
41
You can’t perform that action at this time.
0 commit comments