Created
September 30, 2021 15:20
-
-
Save rcackerman/7306b571a95a7ea1af8512795a65e7da to your computer and use it in GitHub Desktop.
Failing test
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| it "shows bars again once closed" do | |
| page.find("svg", class: "fa-times").click | |
| expect(page).to have_css(".fa-bars") | |
| end | |
| it "shows bars again once closed" do | |
| page.find("svg", class: "fa-times", wait: 5).click | |
| expect(page).to have_css(".fa-bars") | |
| end | |
| it "shows bars again once closed" do | |
| page.find("svg", class: "fa-times").click(wait: 5) | |
| expect(page).to have_css(".fa-bars") | |
| end | |
| it "shows bars again once closed" do | |
| page.find("button.navbar-toggler").click(wait: 5) | |
| expect(page).to have_css(".fa-bars") | |
| end | |
| it "shows bars again once closed" do | |
| expect(page.find("svg", class: "fa-times")).to be_truthy | |
| page.find("button").click | |
| expect(page).to have_css(".fa-bars") | |
| end | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment