Skip to content

Commit

Permalink
Ci dependencies (project-chip#1203)
Browse files Browse the repository at this point in the history
* update dependencies

* cleanup

* PR review

* update electron builder
  • Loading branch information
paulr34 authored Nov 8, 2023
1 parent ca7937a commit c83abb6
Show file tree
Hide file tree
Showing 26 changed files with 4,270 additions and 4,634 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,8 @@ jobs:
with:
node-version: 18.x
cache: 'npm'
- name: pip
run: pip install setuptools

- name: Prepare Linux build environment
if: startsWith(matrix.os, 'ubuntu')
Expand Down
23 changes: 23 additions & 0 deletions cypress.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import { defineConfig } from 'cypress'

export default defineConfig({
viewportWidth: 1080,
viewportHeight: 920,
video: false,
e2e: {
// We've imported your old cypress plugins here.
// You may want to clean this up later by importing these.
setupNodeEvents(on, config) {
return require('./cypress/plugins/index.js')(on, config)
},
testIsolation: false,
excludeSpecPattern: [
'**/file_open.spec.js',
'**/*.test.js',
'**/*.xml',
'**/*.zap',
'**/custom_xml.spec.js',
'**/check-cluster-attributes-singleton-in-zigbee-mode.spec.js',
],
},
})
13 changes: 0 additions & 13 deletions cypress.json

This file was deleted.

File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,8 @@ describe('Add multiple clusters and search', () => {
})
it('Search action', () => {
cy.fixture('data').then((data) => {
cy.get(
'[data-test="search-clusters"]'
)
.clear({force: true})
cy.get('[data-test="search-clusters"]')
.clear({ force: true })
.type(data.searchString2)
})
})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@ describe('Testing cluster search', () => {
})
it('Search for power', () => {
cy.fixture('data').then((data) => {
cy.get(
'[data-test="search-clusters"]'
)
cy.get('[data-test="search-clusters"]')
.clear({ force: true })
.type(data.searchString2)
})
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/// <reference types="cypress" />

const { find } = require('underscore')
const rendApi = require('../../../src-shared/rend-api.js')
const restApi = require('../../../src-shared/rest-api.js')
const path = require('path')

Cypress.on('uncaught:exception', (err, runnable) => {
Expand All @@ -17,7 +17,7 @@ describe('Check ZCL Extension functionalities', () => {
cy.window()
.then(function (window) {
window[rendApi.GLOBAL_SYMBOL_EXECUTE](
rendApi.id.open,
restApi.ide.open,
path.join(__dirname, 'custom_xml.zap')
)
})
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit c83abb6

Please sign in to comment.