Skip to content

Commit 68ccb5c

Browse files
committed
ou-872 Use modal id when using the modal from the dynamic plugin SDK
1 parent 953ed74 commit 68ccb5c

8 files changed

Lines changed: 363 additions & 342 deletions

File tree

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ build-backend:
4545
start-backend:
4646
go run ./cmd/plugin-backend.go -port='9002' -config-path='./web/dist' -static-path='./web/dist' -plugin-config-path='ct.yaml'
4747

48+
.PHONY: install
49+
install: install-frontend install-backend
50+
4851
.PHONY: build-image
4952
build-image: test-frontend
5053
./scripts/build-image.sh

web/integration-tests/cypress.config.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
const { defineConfig } = require('cypress');
1+
import { defineConfig } from 'cypress';
2+
import plugin from './plugins/index';
23

3-
module.exports = defineConfig({
4+
export default defineConfig({
45
viewportWidth: 1920,
56
viewportHeight: 1080,
67
screenshotsFolder: './screenshots',
@@ -18,7 +19,7 @@ module.exports = defineConfig({
1819
},
1920
e2e: {
2021
setupNodeEvents(on, config) {
21-
return require('./plugins/index.ts')(on, config);
22+
return plugin(on, config);
2223
},
2324
specPattern: 'tests/**/*.cy.{js,jsx,ts,tsx}',
2425
supportFile: false,

0 commit comments

Comments
 (0)