mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix involuntary rerenders in item list layout (#4720)
* Fix involuntary re-renders in item list layout Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com> Signed-off-by: Janne Savolainen <janne.savolainen@live.fi> * Enable skipped integration tests for being fixed Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com> Signed-off-by: Janne Savolainen <janne.savolainen@live.fi> * Remove comment Signed-off-by: Janne Savolainen <janne.savolainen@live.fi> * Improve code style Signed-off-by: Janne Savolainen <janne.savolainen@live.fi> * flatten file heirarchy Signed-off-by: Sebastian Malton <sebastian@malton.name> * Fix item list layout header rendering bug Signed-off-by: Sebastian Malton <sebastian@malton.name> Co-authored-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
1 parent
8214076ca0
commit
44a060ff42
12 files changed
+733
-569
No files matched your search
@@ -354,8 +354,7 @@ utils.describeIf(minikubeReady(TEST_NAMESPACE))("Minikube based tests", () => {
|
||||
}
|
||||
}, 10*60*1000);
|
||||
|
||||
// TODO: Make re-rendering of KubeObjectListLayout not cause namespaceSelector to be closed
|
||||
xit("show logs and highlight the log search entries", async () => {
|
||||
it("show logs and highlight the log search entries", async () => {
|
||||
await frame.click(`a[href="/workloads"]`);
|
||||
await frame.click(`a[href="/pods"]`);
|
||||
|
||||
@@ -400,8 +399,7 @@ utils.describeIf(minikubeReady(TEST_NAMESPACE))("Minikube based tests", () => {
|
||||
await frame.waitForSelector("div.TableCell >> text='kube-system'");
|
||||
}, 10*60*1000);
|
||||
|
||||
// TODO: Make re-rendering of KubeObjectListLayout not cause namespaceSelector to be closed
|
||||
xit(`should create the ${TEST_NAMESPACE} and a pod in the namespace`, async () => {
|
||||
it(`should create the ${TEST_NAMESPACE} and a pod in the namespace`, async () => {
|
||||
await frame.click('a[href="/namespaces"]');
|
||||
await frame.click("button.add-button");
|
||||
await frame.waitForSelector("div.AddNamespaceDialog >> text='Create Namespace'");
|
||||
|
||||
Reference in new issue
Block a user