mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2025-01-28 00:22:33 +01:00
dab6613f1b
# Description of Changes Please provide a summary of the changes, including: - What was changed - Why the change was made - Any challenges encountered Closes #(issue_number) --- ## Checklist ### General - [ ] I have read the [Contribution Guidelines](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/CONTRIBUTING.md) - [ ] I have read the [Stirling-PDF Developer Guide](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/DeveloperGuide.md) (if applicable) - [ ] I have read the [How to add new languages to Stirling-PDF](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/HowToAddNewLanguage.md) (if applicable) - [ ] I have performed a self-review of my own code - [ ] My changes generate no new warnings ### Documentation - [ ] I have updated relevant docs on [Stirling-PDF's doc repo](https://github.com/Stirling-Tools/Stirling-Tools.github.io/blob/main/docs/) (if functionality has heavily changed) - [ ] I have read the section [Add New Translation Tags](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/HowToAddNewLanguage.md#add-new-translation-tags) (for new translation tags only) ### UI Changes (if applicable) - [ ] Screenshots or videos demonstrating the UI changes are attached (e.g., as comments or direct attachments in the PR) ### Testing (if applicable) - [ ] I have tested my changes locally. Refer to the [Testing Guide](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/DeveloperGuide.md#6-testing) for more details. --------- Co-authored-by: a <a>
141 lines
4.2 KiB
YAML
141 lines
4.2 KiB
YAML
version: 4.0.44
|
|
steps:
|
|
- prompt: open chrome
|
|
commands:
|
|
- command: focus-application
|
|
name: Google Chrome
|
|
- prompt: click on view PDF
|
|
commands:
|
|
- command: focus-application
|
|
name: Google Chrome
|
|
- command: hover-text
|
|
text: View PDF
|
|
description: button to view PDF
|
|
action: click
|
|
- prompt: click on view PDF
|
|
commands:
|
|
- command: wait
|
|
timeout: 5000
|
|
- command: assert
|
|
expect: a pdf is open
|
|
- prompt: go back to the previous page
|
|
commands:
|
|
- command: focus-application
|
|
name: Google Chrome
|
|
- command: press-keys
|
|
keys:
|
|
- alt
|
|
- left
|
|
- prompt: go back to the previous page
|
|
commands:
|
|
- command: assert
|
|
expect: it is in homepage
|
|
- prompt: >-
|
|
click on sun icon in the header section and make sure the theme of the
|
|
website changes, if it does then change it back by clicking on the moon
|
|
icon at the exact same place
|
|
commands:
|
|
- command: focus-application
|
|
name: Google Chrome
|
|
- command: hover-image
|
|
description: sun icon in the header section
|
|
action: click
|
|
- command: assert
|
|
expect: the theme of the website has changed
|
|
- command: hover-image
|
|
description: moon icon in the header section
|
|
action: click
|
|
- prompt: >-
|
|
click on search icon in the header section and search for "rotate", click
|
|
on it in the drop down, you will be taken to the rotate pdf page, if so
|
|
then go back to the homepage
|
|
commands:
|
|
- command: focus-application
|
|
name: Google Chrome
|
|
- command: hover-image
|
|
description: search icon in the header section
|
|
action: click
|
|
- command: type
|
|
text: rotate
|
|
- command: wait
|
|
timeout: 2000
|
|
- command: hover-text
|
|
text: Rotate
|
|
description: dropdown option for rotate
|
|
action: click
|
|
- command: wait
|
|
timeout: 5000
|
|
- command: assert
|
|
expect: the page title is "Rotate PDF"
|
|
- command: press-keys
|
|
keys:
|
|
- alt
|
|
- left
|
|
- prompt: >-
|
|
click on search bar and search for "rotate", click on it in the drop down,
|
|
you will be taken to the rotate pdf page, if so then go back to the
|
|
homepage
|
|
commands:
|
|
- command: focus-application
|
|
name: Google Chrome
|
|
- command: hover-text
|
|
text: Search for features...
|
|
description: search bar
|
|
action: click
|
|
- command: type
|
|
text: rotate
|
|
- command: wait
|
|
timeout: 2000
|
|
- command: hover-text
|
|
text: Rotate
|
|
description: dropdown option for rotate
|
|
action: click
|
|
- command: wait
|
|
timeout: 5000
|
|
- command: assert
|
|
expect: the page title is "Rotate PDF"
|
|
- command: press-keys
|
|
keys:
|
|
- alt
|
|
- left
|
|
- command: wait
|
|
timeout: 2000
|
|
- prompt: >-
|
|
click on Tools button in the header section and Check if the background of
|
|
the merge button is highlighted when hovered over, similarly hover over a
|
|
few other buttons and check for the background of the button is highlighted
|
|
when hovered over
|
|
commands:
|
|
- command: focus-application
|
|
name: Google Chrome
|
|
- command: hover-text
|
|
text: Tools
|
|
description: Tools button in the header section
|
|
action: click
|
|
- command: assert
|
|
expect: the Tools dropdown is open
|
|
- command: hover-text
|
|
text: Merge
|
|
description: Merge button
|
|
action: hover
|
|
- command: assert
|
|
expect: the background of the Merge button is highlighted
|
|
- command: hover-text
|
|
text: PDF to Image
|
|
description: PDF to Image button
|
|
action: hover
|
|
- command: assert
|
|
expect: the background of the PDF to Image button is highlighted
|
|
- command: hover-text
|
|
text: PDF to CSV
|
|
description: PDF to CSV button
|
|
action: hover
|
|
- command: assert
|
|
expect: the background of the PDF to CSV button is highlighted
|
|
- command: hover-text
|
|
text: Sign
|
|
description: Sign button
|
|
action: hover
|
|
- command: assert
|
|
expect: the background of the Sign button is highlighted
|