Skip to content

Commit 146494c

Browse files
committed
rename packages
1 parent 141876f commit 146494c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+3073
-6871
lines changed

lib/src/main/kotlin/seleniumtestinglib/jestdom/Api.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package seleniumtestinglib.jestdom
22

33
import org.openqa.selenium.WebElement
4-
import seleniumtestinglib.coreapi.JsType
4+
import seleniumtestinglib.queries.JsType
55

66
/**
77
* https://testing-library.com/docs/ecosystem-jest-dom/

lib/src/main/kotlin/seleniumtestinglib/jestdom/JestDom.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ package seleniumtestinglib.jestdom
33
import org.openqa.selenium.WebElement
44
import org.openqa.selenium.remote.RemoteWebDriver
55
import org.openqa.selenium.remote.RemoteWebElement
6-
import seleniumtestinglib.coreapi.JsType
76
import seleniumtestinglib.ensureScript
7+
import seleniumtestinglib.queries.JsType
88

99
val WebElement.isDisabled get() = executeJestDomQuery("toBeDisabled")
1010
val WebElement.isEmptyDomElement get() = executeJestDomQuery("toBeEmptyDOMElement")

lib/src/main/kotlin/seleniumtestinglib/locators/ByAltText.kt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ import org.openqa.selenium.By
44
import org.openqa.selenium.SearchContext
55
import org.openqa.selenium.WebElement
66
import org.openqa.selenium.remote.RemoteWebDriver
7-
import seleniumtestinglib.coreapi.ByType
8-
import seleniumtestinglib.coreapi.JsType
9-
import seleniumtestinglib.coreapi.JsType.Companion.asJsFunction
10-
import seleniumtestinglib.coreapi.JsType.Companion.asJsString
11-
import seleniumtestinglib.coreapi.executeTLQuery
7+
import seleniumtestinglib.queries.ByType
8+
import seleniumtestinglib.queries.JsType
9+
import seleniumtestinglib.queries.JsType.Companion.asJsFunction
10+
import seleniumtestinglib.queries.JsType.Companion.asJsString
11+
import seleniumtestinglib.queries.executeTLQuery
1212

1313
/**
1414
* https://testing-library.com/docs/queries/byalttext

lib/src/main/kotlin/seleniumtestinglib/locators/ByDisplayValue.kt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ import org.openqa.selenium.By
44
import org.openqa.selenium.SearchContext
55
import org.openqa.selenium.WebElement
66
import org.openqa.selenium.remote.RemoteWebDriver
7-
import seleniumtestinglib.coreapi.ByType
8-
import seleniumtestinglib.coreapi.JsType
9-
import seleniumtestinglib.coreapi.JsType.Companion.asJsFunction
10-
import seleniumtestinglib.coreapi.JsType.Companion.asJsString
11-
import seleniumtestinglib.coreapi.executeTLQuery
7+
import seleniumtestinglib.queries.ByType
8+
import seleniumtestinglib.queries.JsType
9+
import seleniumtestinglib.queries.JsType.Companion.asJsFunction
10+
import seleniumtestinglib.queries.JsType.Companion.asJsString
11+
import seleniumtestinglib.queries.executeTLQuery
1212

1313
/**
1414
* https://testing-library.com/docs/queries/bydisplayvalue

lib/src/main/kotlin/seleniumtestinglib/locators/ByLabelText.kt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ import org.openqa.selenium.By
44
import org.openqa.selenium.SearchContext
55
import org.openqa.selenium.WebElement
66
import org.openqa.selenium.remote.RemoteWebDriver
7-
import seleniumtestinglib.coreapi.ByType
8-
import seleniumtestinglib.coreapi.JsType
9-
import seleniumtestinglib.coreapi.JsType.Companion.asJsFunction
10-
import seleniumtestinglib.coreapi.JsType.Companion.asJsString
11-
import seleniumtestinglib.coreapi.executeTLQuery
7+
import seleniumtestinglib.queries.ByType
8+
import seleniumtestinglib.queries.JsType
9+
import seleniumtestinglib.queries.JsType.Companion.asJsFunction
10+
import seleniumtestinglib.queries.JsType.Companion.asJsString
11+
import seleniumtestinglib.queries.executeTLQuery
1212

1313
/**
1414
* https://testing-library.com/docs/queries/bylabeltext

lib/src/main/kotlin/seleniumtestinglib/locators/ByPlaceholderText.kt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ import org.openqa.selenium.By
44
import org.openqa.selenium.SearchContext
55
import org.openqa.selenium.WebElement
66
import org.openqa.selenium.remote.RemoteWebDriver
7-
import seleniumtestinglib.coreapi.ByType
8-
import seleniumtestinglib.coreapi.JsType
9-
import seleniumtestinglib.coreapi.JsType.Companion.asJsFunction
10-
import seleniumtestinglib.coreapi.JsType.Companion.asJsString
11-
import seleniumtestinglib.coreapi.executeTLQuery
7+
import seleniumtestinglib.queries.ByType
8+
import seleniumtestinglib.queries.JsType
9+
import seleniumtestinglib.queries.JsType.Companion.asJsFunction
10+
import seleniumtestinglib.queries.JsType.Companion.asJsString
11+
import seleniumtestinglib.queries.executeTLQuery
1212

1313
/**
1414
* https://testing-library.com/docs/queries/byplaceholdertext

lib/src/main/kotlin/seleniumtestinglib/locators/ByRole.kt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ import org.openqa.selenium.By
44
import org.openqa.selenium.SearchContext
55
import org.openqa.selenium.WebElement
66
import org.openqa.selenium.remote.RemoteWebDriver
7-
import seleniumtestinglib.coreapi.ByType
8-
import seleniumtestinglib.coreapi.JsType
9-
import seleniumtestinglib.coreapi.JsType.Companion.asJsFunction
10-
import seleniumtestinglib.coreapi.JsType.Companion.asJsString
11-
import seleniumtestinglib.coreapi.executeTLQuery
7+
import seleniumtestinglib.queries.ByType
8+
import seleniumtestinglib.queries.JsType
9+
import seleniumtestinglib.queries.JsType.Companion.asJsFunction
10+
import seleniumtestinglib.queries.JsType.Companion.asJsString
11+
import seleniumtestinglib.queries.executeTLQuery
1212

1313
/**
1414
* https://testing-library.com/docs/queries/byrole

lib/src/main/kotlin/seleniumtestinglib/locators/ByTestId.kt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ import org.openqa.selenium.By
44
import org.openqa.selenium.SearchContext
55
import org.openqa.selenium.WebElement
66
import org.openqa.selenium.remote.RemoteWebDriver
7-
import seleniumtestinglib.coreapi.ByType
8-
import seleniumtestinglib.coreapi.JsType
9-
import seleniumtestinglib.coreapi.JsType.Companion.asJsFunction
10-
import seleniumtestinglib.coreapi.JsType.Companion.asJsString
11-
import seleniumtestinglib.coreapi.executeTLQuery
7+
import seleniumtestinglib.queries.ByType
8+
import seleniumtestinglib.queries.JsType
9+
import seleniumtestinglib.queries.JsType.Companion.asJsFunction
10+
import seleniumtestinglib.queries.JsType.Companion.asJsString
11+
import seleniumtestinglib.queries.executeTLQuery
1212

1313
/**
1414
* https://testing-library.com/docs/queries/bytestid

lib/src/main/kotlin/seleniumtestinglib/locators/ByText.kt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ import org.openqa.selenium.By
44
import org.openqa.selenium.SearchContext
55
import org.openqa.selenium.WebElement
66
import org.openqa.selenium.remote.RemoteWebDriver
7-
import seleniumtestinglib.coreapi.ByType
8-
import seleniumtestinglib.coreapi.JsType
9-
import seleniumtestinglib.coreapi.JsType.Companion.asJsFunction
10-
import seleniumtestinglib.coreapi.JsType.Companion.asJsString
11-
import seleniumtestinglib.coreapi.executeTLQuery
7+
import seleniumtestinglib.queries.ByType
8+
import seleniumtestinglib.queries.JsType
9+
import seleniumtestinglib.queries.JsType.Companion.asJsFunction
10+
import seleniumtestinglib.queries.JsType.Companion.asJsString
11+
import seleniumtestinglib.queries.executeTLQuery
1212

1313
/**
1414
* https://testing-library.com/docs/queries/bytext

lib/src/main/kotlin/seleniumtestinglib/locators/ByTitle.kt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ import org.openqa.selenium.By
44
import org.openqa.selenium.SearchContext
55
import org.openqa.selenium.WebElement
66
import org.openqa.selenium.remote.RemoteWebDriver
7-
import seleniumtestinglib.coreapi.ByType
8-
import seleniumtestinglib.coreapi.JsType
9-
import seleniumtestinglib.coreapi.JsType.Companion.asJsFunction
10-
import seleniumtestinglib.coreapi.JsType.Companion.asJsString
11-
import seleniumtestinglib.coreapi.executeTLQuery
7+
import seleniumtestinglib.queries.ByType
8+
import seleniumtestinglib.queries.JsType
9+
import seleniumtestinglib.queries.JsType.Companion.asJsFunction
10+
import seleniumtestinglib.queries.JsType.Companion.asJsString
11+
import seleniumtestinglib.queries.executeTLQuery
1212

1313
/**
1414
* https://testing-library.com/docs/queries/bytitle

0 commit comments

Comments
 (0)