Skip to content

Commit

Permalink
Test unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Pelayori committed Mar 18, 2024
1 parent d3b1ec8 commit 10decf0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/unit-tests-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,6 @@ jobs:
uses: actions/setup-java@v1
with:
java-version: '17'
- name: Install Firefox
run: |
sudo apt-get update
sudo apt-get install -y firefox
- name: Add exec permission to mvnw
run: chmod +x mvnw
- name: Run all tests with sonar analysis
Expand Down
4 changes: 2 additions & 2 deletions src/test/java/com/uniovi/Wiq_IntegrationTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ class Wiq_IntegrationTests {
public void begin() {
WebDriverManager.firefoxdriver().setup();
FirefoxOptions options = new FirefoxOptions();
options.addArguments("--headless"); // Optional: Use this if you want to run tests headlessly
driver = new FirefoxDriver(options); // Use the options when creating the WebDriver instance
options.addArguments("--headless");
driver = new FirefoxDriver(options);
driver.navigate().to(URL);
}

Expand Down

0 comments on commit 10decf0

Please sign in to comment.