Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

Cleanup additional space to properly build Sample Apps (#68229)

Timofey Kachalovc73ccb8be7fe
diff --git a/.github/actions/maximize-disk-space/action.yml b/.github/actions/maximize-disk-space/action.yml
new file mode 100644
index 00000000000..924b485617a
--- /dev/null
+++ b/.github/actions/maximize-disk-space/action.yml
@@ -0,0 +1,19 @@
+name: Maximize disk space
+description: Removes unused stuff from GH runner
+
+runs:
+ using: "composite"
+ steps:
+ - name: Maximize build space
+ shell: bash
+ run: |
+ echo "-- Dotnet"
+ sudo rm -rf /usr/share/dotnet
+ echo "-- Android"
+ sudo rm -rf /usr/local/lib/android
+ echo "-- Haskell"
+ sudo rm -rf /opt/ghc
+ echo "-- CodeQL"
+ sudo rm -rf /opt/hostedtoolcache/CodeQL
+
+ df -h
diff --git a/.github/workflows/embedding-sdk-host-sample-apps-tests.yml b/.github/workflows/embedding-sdk-host-sample-apps-tests.yml
index 235c5b98352..5547bfa56ad 100644
--- a/.github/workflows/embedding-sdk-host-sample-apps-tests.yml
+++ b/.github/workflows/embedding-sdk-host-sample-apps-tests.yml
@@ -119,6 +119,8 @@ jobs:
steps:
- uses: actions/checkout@v4
+ - uses: ./.github/actions/maximize-disk-space
+
# We have to use the latest version that does not have this issue https://github.com/docker/compose/pull/12752
- name: Set up Docker Compose
uses: docker/setup-compose-action@v1
diff --git a/e2e/test/scenarios/embedding/sdk-iframe-embedding/embed-options.cy.spec.ts b/e2e/test/scenarios/embedding/sdk-iframe-embedding/embed-options.cy.spec.ts
index b8cf145796b..703c0794b0b 100644
--- a/e2e/test/scenarios/embedding/sdk-iframe-embedding/embed-options.cy.spec.ts
+++ b/e2e/test/scenarios/embedding/sdk-iframe-embedding/embed-options.cy.spec.ts
@@ -257,7 +257,8 @@ describe("scenarios > embedding > sdk iframe embed options passthrough", () => {
cy.get("[aria-label='download icon']").should("be.visible");
cy.log("3. clicking on the column value should show the popover");
- cy.findAllByText("37.65").first().should("be.visible").click();
+ cy.findAllByText("37.65").first().should("be.visible");
+ cy.findAllByText("37.65").first().click();
cy.findByText(/Filter by this value/).should("be.visible");
cy.log("4. clicking on the filter should drill down");