-
Notifications
You must be signed in to change notification settings - Fork 416
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#1022 - Apply Automation test for Yas project
- Update create product scenario
- Loading branch information
Duy Le Van
committed
Sep 23, 2024
1 parent
0515ca7
commit faf9e16
Showing
7 changed files
with
298 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
automation-ui/backoffice/src/main/java/com/yas/automation/ui/enumerate/ProductAttribute.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package com.yas.automation.ui.enumerate; | ||
|
||
public enum ProductAttribute { | ||
CPU, | ||
GPU, | ||
OS, | ||
SCREEN_SIZE, | ||
PANEL, | ||
BLUETOOTH, | ||
NFC, | ||
MAIN_CAMERA, | ||
SUB_CAMERA, | ||
RAM, | ||
STORAGE, | ||
SCREEN_RESOLUTION; | ||
|
||
public static final String BASE_XPATH = "//*[@class=\"fade tab-pane active show\"]/table/tbody/tr[%s]/th[2]/input"; | ||
} |
4 changes: 2 additions & 2 deletions
4
automation-ui/backoffice/src/test/java/com/yas/automation/ui/JUnitCucumberRunner.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.