Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tests to simulate user actions - file upload actions #26

Closed
muhammed-abuodeh opened this issue Oct 11, 2022 · 1 comment · Fixed by #27
Closed

Add tests to simulate user actions - file upload actions #26

muhammed-abuodeh opened this issue Oct 11, 2022 · 1 comment · Fixed by #27
Assignees

Comments

@muhammed-abuodeh
Copy link
Collaborator

Simulate user clicks on items, and ensure certain outcomes are met.

Currently there's a test that simulates user entering 2 sentences in the text area on the main page. Assertion: there are 2 trees that are initialized on the tree page.

See palmyra functionality document for use cases.

@muhammed-abuodeh muhammed-abuodeh changed the title Add tests to simulate user actions Add tests to simulate user actions - file upload actions Oct 26, 2022
@muhammed-abuodeh
Copy link
Collaborator Author

the tests covered:
user clicks upload without uploading a file
user clicks upload with uploading a file

user clicks upload without uploading a file and a config file
user clicks upload with uploading a file and a config file

user clicks upload without uploading a file and a config file
user clicks upload with uploading a file and a config file

user clicks sentence upload without entering sentence data, config file is uploaded
user clicks sentence upload and sentence data is entered, config file is uploaded

user clicks sentence upload without entering sentence data, config file is not uploaded
user clicks sentence upload and sentence data is entered, config file is not uploaded

@vulongphan vulongphan linked a pull request Nov 2, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants