Skip to content

Commit

Permalink
test: remove broken steps from files acceptance test
Browse files Browse the repository at this point in the history
The acceptance tests using the recent view fail since the vue migration.

`And I open the details view for "welcome.txt"`

Is looking for a row in the filelist with a span having the class nametext, matching the file name "welcome.txt" and button inside having the class action-menu.

The markup for the files list looks very different after the vue migration and therefor the test is failing.

Signed-off-by: Daniel Kesselberg <[email protected]>
  • Loading branch information
kesselb committed Aug 9, 2023
1 parent 42d1568 commit d56e2aa
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions tests/acceptance/features/app-files.feature
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,14 @@ Feature: app-files
And I see that the details view is closed
And I open the "Recent" section
And I see that the current section is "Recent"
And I open the details view for "welcome.txt"
And I see that the details view is open
And I close the details view
And I see that the details view is closed
# The acceptance tests using the recent view fail since the vue migration.
# The step is looking for a row in the filelist with a span having the class nametext, matching the
# file name "welcome.txt" and button inside having the class action-menu. The markup for the files list
# looks very different after the vue migration and therefor the test is failing.
#And I open the details view for "welcome.txt"
#And I see that the details view is open
#And I close the details view
#And I see that the details view is closed
When I open the "All files" section
And I see that the current section is "All files"
And I open the details view for "welcome.txt"
Expand Down

0 comments on commit d56e2aa

Please sign in to comment.