Skip to content
代码片段 群组 项目
未验证 提交 c83abb6d 编辑于 作者: paulr34's avatar paulr34 提交者: GitHub
浏览文件

Ci dependencies (#1203)

* update dependencies

* cleanup

* PR review

* update electron builder
上级 ca7937a6
No related branches found
标签 v2023.11.08-nightly
无相关合并请求
显示
30 个添加22 个删除
......@@ -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')
......
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',
],
},
})
{
"viewportWidth": 1080,
"viewportHeight": 920,
"video": false,
"ignoreTestFiles": [
"**/file_open.spec.js",
"**/*.test.js",
"**/*.xml",
"**/*.zap",
"**/custom_xml.spec.js",
"**/check-cluster-attributes-singleton-in-zigbee-mode.spec.js"
]
}
......@@ -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)
})
})
......
......@@ -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)
})
......
/// <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) => {
......@@ -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')
)
})
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册