hinthealth / behave

Front-end testing helpers
MIT License
1 stars 0 forks source link

href don't work #19

Open EpiphanyMachine opened 9 years ago

EpiphanyMachine commented 9 years ago

working:

expect($('[href="images/employeeDependentUpload.csv"]')).toBeVisible();

not working

expect(find('[href="images/employeeDependentUpload.csv"]')).toBeVisible(); <-- grabs element below correct one

expect(find('href="images/employeeDependentUpload.csv"')).toBeVisible();
expect(find('"images/employeeDependentUpload.csv"')).toBeVisible();
expect(find('images/employeeDependentUpload.csv')).toBeVisible();
expect(find('employeeDependentUpload.csv')).toBeVisible();
expect(find('~employeeDependentUpload.csv')).toBeVisible();
expect(find('~employeeDependentUpload')).toBeVisible();