diff --git a/.github/workflows/automation-ui-test-run.yml b/.github/workflows/automation-ui-test-run.yml index 2983272..5492074 100644 --- a/.github/workflows/automation-ui-test-run.yml +++ b/.github/workflows/automation-ui-test-run.yml @@ -10,6 +10,12 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + - name: Set up JDK 22 for x64 + uses: actions/setup-java@4 + with: + java-version: '22' + distribution: 'temurin' + architecture: x64 - name: Build with Gradle run: ./gradlew -DincludeTags="regression" -Ddriver="chrome" -DdriverArguments="--headless=new;--window-size=1920,1080;" - name: Automation ui test result diff --git a/src/test/java/com/github/eataborda/ui/features/StandardUserTest.java b/src/test/java/com/github/eataborda/ui/features/StandardUserTest.java index 01e8f5f..33c6b52 100644 --- a/src/test/java/com/github/eataborda/ui/features/StandardUserTest.java +++ b/src/test/java/com/github/eataborda/ui/features/StandardUserTest.java @@ -85,7 +85,7 @@ public void cartItemsPersistenceTest() { @DisplayName(AnnotationValues.ORDER_INVENTORY_ITEMS_DISPLAY_NAME) public void orderInventoryItemsTest() { loginPage.loginValidUser(LoginUser.STANDARD_USER.getUser(), LoginUser.STANDARD_USER.getPassword()); - // initial list of items + //// initial list of items List initialNameList = inventoryPage.getItemNameList(); SoftAssertions softAssertions = new SoftAssertions();