issues
search
digi-serve
/
kitchensink_app
Testing all AppBuilder options.
1
stars
1
forks
source link
Comment E2E Test
#3
Closed
nh758
closed
2 years ago
nh758
commented
2 years ago
Reference
Description
expectation
Go to the tab "Comment"
can find the first comment avatar text "A"
can find the first comment name "admin"
can find the first comment date "10 Sep, 00:00"
can find the first comment message "test"
can find the first comment menu which has icon "wxi-dots"
On the first comment, Click on the button which has the icon "wxi-dots"
can find the option icon "wix-pencil"
can find the option text "Edit"
can find the option icon "wxi-trash"
can find the option text "Remove"
Click on the option "Edit"
can find the text "test" on the first textarea
Replace the text "test" with "cypress hahaha" and Click on the button "Send"
can find the text "cypress hahaha" on the first comment
should't have found the text "test" on the first comment
On the first comment, Click on the button which has the icon "wxi-dots" and Click on the button "Remove"
can find the text "The comment will be removed. Are you sure?"
can find the button "Cancel" on the popup
can find the button which has the text "Ok" on the popup
can find the button which has the text "Cancel" on the popup
Click on the button "Cancel"
the text "cypress hahaha" should exist
On the first comment, Click on the button which has the icon "wxi-dots", Click on the button "Remove" and Click on the button "Ok"
the text "cypress hahaha" shouldn't exist
Type "cypress hahaha is coming back" on the first textarea and Click on the button "Send"
can find the text "cypress hahaha is coming back" on the comment container
Reference