Skip to content

Commit

Permalink
Move monitoring tests to watcher package
Browse files Browse the repository at this point in the history
  • Loading branch information
bonigarcia committed Aug 13, 2022
1 parent 0569905 commit 129d818
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*
*/
package io.github.bonigarcia.seljup.test.watch;
package io.github.bonigarcia.seljup.test.watcher;

//tag::snippet-in-doc[]
import static java.lang.invoke.MethodHandles.lookup;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*
*/
package io.github.bonigarcia.seljup.test.watch;
package io.github.bonigarcia.seljup.test.watcher;

//tag::snippet-in-doc[]
import static java.lang.invoke.MethodHandles.lookup;
Expand All @@ -28,13 +28,13 @@
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.RegisterExtension;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.selenium.chrome.ChromeDriver;
import org.slf4j.Logger;

import io.github.bonigarcia.seljup.SeleniumJupiter;
import io.github.bonigarcia.seljup.Watch;

class DisplayLogsFirefoxTest {
class DisplayLogsChromeTest {

static final Logger log = getLogger(lookup().lookupClass());

Expand All @@ -48,7 +48,7 @@ void teardown() throws InterruptedException {
}

@Test
void test(@Watch(display = true) FirefoxDriver driver) {
void test(@Watch(display = true) ChromeDriver driver) {
driver.get(
"https://bonigarcia.dev/selenium-webdriver-java/console-logs.html");

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*
*/
package io.github.bonigarcia.seljup.test.watch;
package io.github.bonigarcia.seljup.test.watcher;

//tag::snippet-in-doc[]
import static java.lang.invoke.MethodHandles.lookup;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*
*/
package io.github.bonigarcia.seljup.test.watch;
package io.github.bonigarcia.seljup.test.watcher;

//tag::snippet-in-doc[]
import static java.lang.invoke.MethodHandles.lookup;
Expand Down

0 comments on commit 129d818

Please sign in to comment.