From 200bc9a3443f22f36db9e710f3fe7ce84b82dfa0 Mon Sep 17 00:00:00 2001 From: "mohammadfaisalkhatri@gmail.com" Date: Sun, 1 Sep 2024 11:35:19 +0300 Subject: [PATCH] added https to the the-internet website link --- .../tests/theinternet/CheckboxTests.java | 2 +- .../tests/theinternet/DataTableTests.java | 2 +- .../tests/theinternet/DigestAuthTest.java | 2 +- .../tests/theinternet/DragAndDropTests.java | 2 +- .../tests/theinternet/DropdownTests.java | 2 +- .../theinternet/FileUploadDownloadTest.java | 2 +- .../tests/theinternet/HoverTests.java | 2 +- .../tests/theinternet/IFrameTests.java | 2 +- .../tests/theinternet/JSAlertTests.java | 2 +- .../tests/theinternet/KeyPressTests.java | 2 +- .../tests/theinternet/MultipleWindowTests.java | 2 +- .../tests/theinternet/RightClickTests.java | 2 +- test-suite/testng-dataattr.xml | 16 ++++++++++++++-- 13 files changed, 26 insertions(+), 14 deletions(-) diff --git a/src/test/java/io/github/mfaisalkhatri/tests/theinternet/CheckboxTests.java b/src/test/java/io/github/mfaisalkhatri/tests/theinternet/CheckboxTests.java index fa1925c..06a35af 100644 --- a/src/test/java/io/github/mfaisalkhatri/tests/theinternet/CheckboxTests.java +++ b/src/test/java/io/github/mfaisalkhatri/tests/theinternet/CheckboxTests.java @@ -30,7 +30,7 @@ public class CheckboxTests extends BaseSuiteSetup { @BeforeClass public void testSetup () { - final String websiteLink = "http://the-internet.herokuapp.com/"; + final String websiteLink = "https://the-internet.herokuapp.com/"; getDriver().get(websiteLink); final MainPage mainPage = new MainPage(); mainPage.clickLink("Checkboxes"); diff --git a/src/test/java/io/github/mfaisalkhatri/tests/theinternet/DataTableTests.java b/src/test/java/io/github/mfaisalkhatri/tests/theinternet/DataTableTests.java index fd26482..14bd5f1 100644 --- a/src/test/java/io/github/mfaisalkhatri/tests/theinternet/DataTableTests.java +++ b/src/test/java/io/github/mfaisalkhatri/tests/theinternet/DataTableTests.java @@ -13,7 +13,7 @@ public class DataTableTests extends BaseSuiteSetup { @BeforeClass public void testSetup () { - final String websiteLink = "http://the-internet.herokuapp.com/"; + final String websiteLink = "https://the-internet.herokuapp.com/"; getDriver().get(websiteLink); final MainPage mainPage = new MainPage(); mainPage.clickLink("Sortable Data Tables"); diff --git a/src/test/java/io/github/mfaisalkhatri/tests/theinternet/DigestAuthTest.java b/src/test/java/io/github/mfaisalkhatri/tests/theinternet/DigestAuthTest.java index e237fa3..0d79394 100644 --- a/src/test/java/io/github/mfaisalkhatri/tests/theinternet/DigestAuthTest.java +++ b/src/test/java/io/github/mfaisalkhatri/tests/theinternet/DigestAuthTest.java @@ -13,7 +13,7 @@ public class DigestAuthTest extends BaseSuiteSetup { @BeforeClass public void testSetup() { - final String websiteLink = "http://the-internet.herokuapp.com/"; + final String websiteLink = "https://the-internet.herokuapp.com/"; getDriver().get(websiteLink); final MainPage mainPage = new MainPage(); mainPage.clickLink("Basic Auth"); diff --git a/src/test/java/io/github/mfaisalkhatri/tests/theinternet/DragAndDropTests.java b/src/test/java/io/github/mfaisalkhatri/tests/theinternet/DragAndDropTests.java index 5994d37..cab3230 100644 --- a/src/test/java/io/github/mfaisalkhatri/tests/theinternet/DragAndDropTests.java +++ b/src/test/java/io/github/mfaisalkhatri/tests/theinternet/DragAndDropTests.java @@ -33,7 +33,7 @@ public class DragAndDropTests extends BaseSuiteSetup { @BeforeClass public void setupTests () { - final String website = "http://the-internet.herokuapp.com/"; + final String website = "https://the-internet.herokuapp.com/"; getDriver().get(website); final MainPage mainPage = new MainPage(); mainPage.clickLink("Drag and Drop"); diff --git a/src/test/java/io/github/mfaisalkhatri/tests/theinternet/DropdownTests.java b/src/test/java/io/github/mfaisalkhatri/tests/theinternet/DropdownTests.java index 9383aea..65b3b67 100644 --- a/src/test/java/io/github/mfaisalkhatri/tests/theinternet/DropdownTests.java +++ b/src/test/java/io/github/mfaisalkhatri/tests/theinternet/DropdownTests.java @@ -32,7 +32,7 @@ public class DropdownTests extends BaseSuiteSetup { @BeforeClass public void testSetup () { - final String websiteLink = "http://the-internet.herokuapp.com/"; + final String websiteLink = "https://the-internet.herokuapp.com/"; getDriver().get(websiteLink); final MainPage mainPage = new MainPage(); mainPage.clickLink("Dropdown"); diff --git a/src/test/java/io/github/mfaisalkhatri/tests/theinternet/FileUploadDownloadTest.java b/src/test/java/io/github/mfaisalkhatri/tests/theinternet/FileUploadDownloadTest.java index f74ce5d..1dcc282 100644 --- a/src/test/java/io/github/mfaisalkhatri/tests/theinternet/FileUploadDownloadTest.java +++ b/src/test/java/io/github/mfaisalkhatri/tests/theinternet/FileUploadDownloadTest.java @@ -18,7 +18,7 @@ public class FileUploadDownloadTest extends BaseSuiteSetup { @BeforeClass public void testSetup () { - final String websiteLink = "http://the-internet.herokuapp.com/"; + final String websiteLink = "https://the-internet.herokuapp.com/"; getDriver().get(websiteLink); this.mainPage = new MainPage(); } diff --git a/src/test/java/io/github/mfaisalkhatri/tests/theinternet/HoverTests.java b/src/test/java/io/github/mfaisalkhatri/tests/theinternet/HoverTests.java index 49cb012..7e4f642 100644 --- a/src/test/java/io/github/mfaisalkhatri/tests/theinternet/HoverTests.java +++ b/src/test/java/io/github/mfaisalkhatri/tests/theinternet/HoverTests.java @@ -30,7 +30,7 @@ public class HoverTests extends BaseSuiteSetup { @BeforeClass public void testSetup () { - final String websiteLink = "http://the-internet.herokuapp.com/"; + final String websiteLink = "https://the-internet.herokuapp.com/"; getDriver().get(websiteLink); final MainPage mainPage = new MainPage(); mainPage.clickLink("Hovers"); diff --git a/src/test/java/io/github/mfaisalkhatri/tests/theinternet/IFrameTests.java b/src/test/java/io/github/mfaisalkhatri/tests/theinternet/IFrameTests.java index aff2af6..273eabd 100644 --- a/src/test/java/io/github/mfaisalkhatri/tests/theinternet/IFrameTests.java +++ b/src/test/java/io/github/mfaisalkhatri/tests/theinternet/IFrameTests.java @@ -30,7 +30,7 @@ public class IFrameTests extends BaseSuiteSetup { @BeforeClass public void setupTests () { - final String website = "http://the-internet.herokuapp.com/"; + final String website = "https://the-internet.herokuapp.com/"; getDriver().get(website); final MainPage mainPage = new MainPage(); mainPage.clickLink("Frames"); diff --git a/src/test/java/io/github/mfaisalkhatri/tests/theinternet/JSAlertTests.java b/src/test/java/io/github/mfaisalkhatri/tests/theinternet/JSAlertTests.java index fda7b68..6354c0d 100644 --- a/src/test/java/io/github/mfaisalkhatri/tests/theinternet/JSAlertTests.java +++ b/src/test/java/io/github/mfaisalkhatri/tests/theinternet/JSAlertTests.java @@ -32,7 +32,7 @@ public class JSAlertTests extends BaseSuiteSetup { @BeforeClass private void setupTest () { - final String websiteLink = "http://the-internet.herokuapp.com/"; + final String websiteLink = "https://the-internet.herokuapp.com/"; getDriver().get(websiteLink); final MainPage mainPage = new MainPage(); mainPage.clickLink("JavaScript Alerts"); diff --git a/src/test/java/io/github/mfaisalkhatri/tests/theinternet/KeyPressTests.java b/src/test/java/io/github/mfaisalkhatri/tests/theinternet/KeyPressTests.java index 56ec483..22fd776 100644 --- a/src/test/java/io/github/mfaisalkhatri/tests/theinternet/KeyPressTests.java +++ b/src/test/java/io/github/mfaisalkhatri/tests/theinternet/KeyPressTests.java @@ -33,7 +33,7 @@ public class KeyPressTests extends BaseSuiteSetup { @BeforeClass public void testSetup () { - final String websiteLink = "http://the-internet.herokuapp.com/"; + final String websiteLink = "https://the-internet.herokuapp.com/"; getDriver().get(websiteLink); final MainPage mainPage = new MainPage(); mainPage.clickLink("Key Presses"); diff --git a/src/test/java/io/github/mfaisalkhatri/tests/theinternet/MultipleWindowTests.java b/src/test/java/io/github/mfaisalkhatri/tests/theinternet/MultipleWindowTests.java index 61de7df..34bbcad 100644 --- a/src/test/java/io/github/mfaisalkhatri/tests/theinternet/MultipleWindowTests.java +++ b/src/test/java/io/github/mfaisalkhatri/tests/theinternet/MultipleWindowTests.java @@ -18,7 +18,7 @@ public class MultipleWindowTests extends BaseSuiteSetup { @BeforeClass public void testSetup () { - final String websiteLink = "http://the-internet.herokuapp.com/"; + final String websiteLink = "https://the-internet.herokuapp.com/"; getDriver().get(websiteLink); final MainPage mainPage = new MainPage(); mainPage.clickLink("Multiple Windows"); diff --git a/src/test/java/io/github/mfaisalkhatri/tests/theinternet/RightClickTests.java b/src/test/java/io/github/mfaisalkhatri/tests/theinternet/RightClickTests.java index 061d73d..411b1c5 100644 --- a/src/test/java/io/github/mfaisalkhatri/tests/theinternet/RightClickTests.java +++ b/src/test/java/io/github/mfaisalkhatri/tests/theinternet/RightClickTests.java @@ -30,7 +30,7 @@ public class RightClickTests extends BaseSuiteSetup { @BeforeClass public void testSetup () { - final String websiteLink = "http://the-internet.herokuapp.com/"; + final String websiteLink = "https://the-internet.herokuapp.com/"; getDriver().get(websiteLink); final MainPage mainPage = new MainPage(); mainPage.clickLink("Context Menu"); diff --git a/test-suite/testng-dataattr.xml b/test-suite/testng-dataattr.xml index 5b368fc..5228796 100644 --- a/test-suite/testng-dataattr.xml +++ b/test-suite/testng-dataattr.xml @@ -1,10 +1,22 @@ - + + + + + + + + - + + + + + + \ No newline at end of file