vease 3.1.0-rc.2 → 3.1.0-rc.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -47,7 +47,7 @@ async function openCrsFromFeedback(window, text) {
47
47
  }
48
48
  async function selectCrs(window, crsName) {
49
49
  await window.getByTestId("crsSearchInput").locator("input").fill(crsName);
50
- await window.locator("tr").filter({ hasText: crsName }).locator("input").first().check();
50
+ await window.locator("tbody tr").filter({ hasText: crsName }).first().click();
51
51
  await waitForActionSettled(window);
52
52
  }
53
53
  async function confirmAssign(window) {
@@ -99,7 +99,7 @@ async function fillAlignPoints(window, prefix, points) {
99
99
  async function selectAlignmentCrs(window, crsName) {
100
100
  const panel = window.getByTestId("crsAlignPanel");
101
101
  await panel.getByTestId("crsSearchInput").locator("input").fill(crsName);
102
- await panel.locator("tr").filter({ hasText: crsName }).locator("input").first().check();
102
+ await panel.locator("tbody tr").filter({ hasText: crsName }).first().click();
103
103
  await waitForActionSettled(window);
104
104
  }
105
105
  async function selectScope(window, scope, testId = "crsScope") {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vease",
3
- "version": "3.1.0-rc.2",
3
+ "version": "3.1.0-rc.3",
4
4
  "description": "Desktop and cloud software for data visualization",
5
5
  "keywords": [
6
6
  "Desktop",
@@ -88,7 +88,8 @@ async function openCrsFromFeedback(window: Page, text: string): Promise<void> {
88
88
  // Selecting is its own step so the dialog state is captured before the action
89
89
  async function selectCrs(window: Page, crsName: string): Promise<void> {
90
90
  await window.getByTestId("crsSearchInput").locator("input").fill(crsName);
91
- await window.locator("tr").filter({ hasText: crsName }).locator("input").first().check();
91
+ // A click on the row selects it: the list has no checkbox column
92
+ await window.locator("tbody tr").filter({ hasText: crsName }).first().click();
92
93
  await waitForActionSettled(window);
93
94
  }
94
95
 
@@ -166,7 +167,7 @@ async function fillAlignPoints(
166
167
  async function selectAlignmentCrs(window: Page, crsName: string): Promise<void> {
167
168
  const panel = window.getByTestId("crsAlignPanel");
168
169
  await panel.getByTestId("crsSearchInput").locator("input").fill(crsName);
169
- await panel.locator("tr").filter({ hasText: crsName }).locator("input").first().check();
170
+ await panel.locator("tbody tr").filter({ hasText: crsName }).first().click();
170
171
  await waitForActionSettled(window);
171
172
  }
172
173