Commit 413f004
committed
fix: failing integration tests
The failing test in member_feedback_spec.rb was due to the test not waiting for the url to change. This was fixed by using have_current_path to wait for the url to change. The test in manage_workshop_attendances_spec.rb was failing because the RSVP member dropdown was appearing in front of the h4 title 'Students' and as a result the dropdown was not being clicked. This was fixed by checking the dropdown is visible before clicking. If the element click error is raised a custom message is logged.1 parent 5850edd commit 413f004
File tree
2 files changed
+13
-4
lines changed- spec/features
- admin
2 files changed
+13
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
54 | | - | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
55 | 65 | | |
56 | 66 | | |
57 | 67 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
65 | 64 | | |
66 | 65 | | |
67 | 66 | | |
68 | 67 | | |
69 | 68 | | |
70 | | - | |
| 69 | + | |
71 | 70 | | |
72 | 71 | | |
73 | 72 | | |
| |||
0 commit comments