Removing ambiguity and non-working selectors
This commit is contained in:
parent
5aeaf248f1
commit
cce14e0b01
4 changed files with 8 additions and 6 deletions
|
@ -17,7 +17,7 @@ describe "On the project wall", js: true do
|
|||
it { should have_css(".js-main-target-form", visible: true, count: 1) }
|
||||
|
||||
# button initalization
|
||||
it { within(".js-main-target-form") { should have_button("Add Comment") } }
|
||||
it { find(".js-main-target-form input[type=submit]").value.should == "Add Comment" }
|
||||
it { within(".js-main-target-form") { should_not have_link("Cancel") } }
|
||||
|
||||
# notifiactions
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue