Skip to content

Commit

Permalink
refactor: remove acceptance tests scenarios for updating content of file
Browse files Browse the repository at this point in the history
  • Loading branch information
anon-pradip committed Apr 26, 2024
1 parent 762fe8d commit 1698b39
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions tests/acceptance/features/webUITextEditor/textFile.feature
Original file line number Diff line number Diff line change
Expand Up @@ -17,29 +17,6 @@ Feature: create markdown files
Then as "Alice" file "simple_new.md" should exist in the server
And file "simple_new.md" should be listed on the webUI

@disablePreviews
Scenario: update a markdown file with new content
Given the user has opened file "simple.md" in the text editor webUI
When the user inputs the content "updated content" in the text editor webUI
And the user saves the file in the text editor webUI
And the user closes the text editor using the webUI
Then as "Alice" the file "simple.md" should have the content "updated content" in the server

@disablePreviews
Scenario: append new content in a markdown file
Given the user has opened file "simple.md" in the text editor webUI
When the user appends the content " new content added" in the text editor webUI
And the user saves the file in the text editor webUI
And the user closes the text editor using the webUI
Then as "Alice" the file "simple.md" should have the content "simple markdown file new content added" in the server

@disablePreviews
Scenario: close the text editor without saving the updated content
Given the user has opened file "simple.md" in the text editor webUI
When the user inputs the content "updated content" in the text editor webUI
And the user closes the text editor using the webUI
And as "Alice" the file "simple.md" should have the content "simple markdown file" in the server

@disablePreviews
Scenario: preview content of the file
When the user opens file "simple.md" in the text editor webUI
Expand Down

0 comments on commit 1698b39

Please sign in to comment.