playbook_ui 13.21.0.pre.alpha.pbntr220improveexpansionspeed2415 → 13.21.0.pre.alpha.pbntr220improveexpansionspeed2431
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.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fa359341b4868e3e9d116b56fcc3ccbc537fc5b3d80b2997e53a80e0adfa7888
|
4
|
+
data.tar.gz: 6740b9bf2144f970551f740872257d5cfc652153d749c01cf86ac6c9cdffad8f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b2400388ce7d3eea366013b9320e71f194a4d5f81edbaa29f6570916b49531df5fa1b89e7daec7003474a59b558c999279c1524aabf6b223ad9ab3e470803e7f
|
7
|
+
data.tar.gz: f1505551719dbfb8fab48a41b3f9ce4e95efb670e14206c61a1ddbd6448de61d7e51c93fc3fe3a458be07eeea0dc4888138ba092f5ac890ee36c127046f19279
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import React, {useState} from "react";
|
2
|
-
import { render, screen } from "../utilities/test-utils";
|
2
|
+
import { render, screen, waitFor } from "../utilities/test-utils";
|
3
3
|
|
4
4
|
import { AdvancedTable } from "../";
|
5
5
|
|
@@ -198,7 +198,7 @@ test("Row toggle button exists and toggles subrows open and closed", () => {
|
|
198
198
|
expect(subRow).toBeInTheDocument()
|
199
199
|
});
|
200
200
|
|
201
|
-
test("toggleExpansionAll button exists and toggles subrows open and closed", () => {
|
201
|
+
test("toggleExpansionAll button exists and toggles subrows open and closed", async () => {
|
202
202
|
render(
|
203
203
|
<AdvancedTable
|
204
204
|
columnDefinitions={columnDefinitions}
|
@@ -208,15 +208,21 @@ test("toggleExpansionAll button exists and toggles subrows open and closed", ()
|
|
208
208
|
);
|
209
209
|
|
210
210
|
const kit = screen.getByTestId(testId);
|
211
|
-
const toggleButton = kit.querySelector(".gray-icon.toggle-all-icon")
|
212
|
-
expect(toggleButton).toBeInTheDocument()
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
211
|
+
const toggleButton = kit.querySelector(".gray-icon.toggle-all-icon");
|
212
|
+
expect(toggleButton).toBeInTheDocument();
|
213
|
+
|
214
|
+
const subRow1 = kit.querySelector(".bg-white.depth-sub-row-1");
|
215
|
+
expect(subRow1).not.toBeInTheDocument();
|
216
|
+
|
217
|
+
toggleButton.click();
|
218
|
+
|
219
|
+
await waitFor(() => {
|
220
|
+
const subRow = kit.querySelector(".bg-white.depth-sub-row-1");
|
221
|
+
expect(subRow).toBeInTheDocument();
|
222
|
+
});
|
218
223
|
});
|
219
224
|
|
225
|
+
|
220
226
|
test("loading state + initialLoadingRowCount prop", () => {
|
221
227
|
render(
|
222
228
|
<AdvancedTable
|
data/lib/playbook/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: playbook_ui
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 13.21.0.pre.alpha.
|
4
|
+
version: 13.21.0.pre.alpha.pbntr220improveexpansionspeed2431
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Power UX
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2024-03-
|
12
|
+
date: 2024-03-21 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: actionpack
|