Skip to content

Commit

Permalink
added https to the the-internet website link
Browse files Browse the repository at this point in the history
  • Loading branch information
mfaisalkhatri committed Sep 1, 2024
1 parent 9e4566d commit 200bc9a
Show file tree
Hide file tree
Showing 13 changed files with 26 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down
16 changes: 14 additions & 2 deletions test-suite/testng-dataattr.xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
<suite name="Testing data attributes using Selenium">
<test name="Data attributes test">
<!-- <test name="Data attributes test">-->
<!-- <parameter name="browser" value="chrome"/>-->
<!-- <classes>-->
<!-- <class name="io.github.mfaisalkhatri.tests.amazon.DataAtrTest"/>-->
<!-- </classes>-->
<!-- </test>-->

<test name="Data table Tests">
<parameter name="browser" value="chrome"/>
<classes>
<class name="io.github.mfaisalkhatri.tests.amazon.DataAtrTest"/>
<class name="io.github.mfaisalkhatri.tests.theinternet.DataTableTests">
<methods>
<include name="testDataTable"/>
</methods>
</class>
</classes>
</test>

</suite>

0 comments on commit 200bc9a

Please sign in to comment.