playbook_ui 13.21.0.pre.alpha.pbntr220improveexpansionspeed2415 → 13.21.0.pre.alpha.pbntr220improveexpansionspeed2451
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 53ec5eba2bcbca69770aff3a4995d6acebd6837d3e47ca43f6e65a075945114f
|
4
|
+
data.tar.gz: 6834eef7adb98d03a39e1b9fc62eb0cf6c3d419d884a8aa55047898169b49bfe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8192c971c521ec1a33906219fc0cab51b8c325b722a9c1339743d2f0702f9584a7edd3a27e850fedd45f6262b197a41f5a4ad3c0a132e790870eb62c430560f5
|
7
|
+
data.tar.gz: 89019b191251d20c60eb613df60e14ac50dee6567b552b274d0bb03979817a4a4026538229b7e41be05d50000373f2fbb430bc30035a231279f5d676f975fac3
|
@@ -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.pbntr220improveexpansionspeed2451
|
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-22 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: actionpack
|