Skip to content

Commit

Permalink
attempt to stabilize flickering spec
Browse files Browse the repository at this point in the history
  • Loading branch information
ulferts committed Dec 3, 2019
1 parent ba059e5 commit 56ad1b5
Showing 1 changed file with 2 additions and 3 deletions.
Expand Up @@ -97,12 +97,11 @@
subject = split_page.edit_field(:subject)
subject.expect_active!
subject.set_value 'Foobar!'
subject.submit_by_enter
split_page.save!

wp_table.expect_notification(
wp_table.expect_and_dismiss_notification(
message: 'Successful creation. Click here to open this work package in fullscreen view.'
)
wp_table.dismiss_notification!
wp = WorkPackage.last
expect(wp.subject).to eq 'Foobar!'
expect(wp.send("custom_field_#{custom_field.id}")).to eq %w(A)
Expand Down

0 comments on commit 56ad1b5

Please sign in to comment.