This commit is contained in:
2022-09-13 18:10:30 +00:00
parent 8a2f67221b
commit 1dbcc1bf5f
3 changed files with 10 additions and 9 deletions

View File

@@ -8,7 +8,8 @@ module.exports = defineConfig({
video: false, video: false,
env: { env: {
xapiBaseUrl: 'http://localhost:7575/api/v8.0/', xapiBaseUrl: 'http://localhost:7575/api/v8.0/',
apiBaseUrl: 'https://test.helloayanova.com/api/v8.0/', xxapiBaseUrl: 'https://test.onayanova.com/api/v8.0/',
apiBaseUrl: 'https://3312.onayanova.com/api/v8.0/',
admin: { admin: {
login: 'superuser', login: 'superuser',
password: 'l3tm3in', password: 'l3tm3in',
@@ -34,6 +35,6 @@ module.exports = defineConfig({
}, },
specPattern: 'tests/**/*.cy.{js,jsx,ts,tsx}', specPattern: 'tests/**/*.cy.{js,jsx,ts,tsx}',
supportFile: 'support/e2e.js', supportFile: 'support/e2e.js',
baseUrl: 'https://test.helloayanova.com', xxbaseUrl: 'https://test.onayanova.com',
}, },
}) })

View File

@@ -7,7 +7,7 @@
"test": "tests" "test": "tests"
}, },
"devDependencies": { "devDependencies": {
"cypress": "^10.4.0" "cypress": "^10.7.0"
}, },
"scripts": { "scripts": {
"open": "./node_modules/.bin/cypress open", "open": "./node_modules/.bin/cypress open",

View File

@@ -268,7 +268,7 @@
</WhileController> </WhileController>
<hashTree> <hashTree>
<ConstantTimer guiclass="ConstantTimerGui" testclass="ConstantTimer" testname="Wait for job" enabled="true"> <ConstantTimer guiclass="ConstantTimerGui" testclass="ConstantTimer" testname="Wait for job" enabled="true">
<stringProp name="ConstantTimer.delay">5000</stringProp> <stringProp name="ConstantTimer.delay">10000</stringProp>
</ConstantTimer> </ConstantTimer>
<hashTree/> <hashTree/>
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Check job done" enabled="true"> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Check job done" enabled="true">
@@ -360,7 +360,7 @@
<longProp name="ThreadGroup.start_time">1370726934000</longProp> <longProp name="ThreadGroup.start_time">1370726934000</longProp>
<longProp name="ThreadGroup.end_time">1370726934000</longProp> <longProp name="ThreadGroup.end_time">1370726934000</longProp>
<boolProp name="ThreadGroup.scheduler">true</boolProp> <boolProp name="ThreadGroup.scheduler">true</boolProp>
<stringProp name="ThreadGroup.duration">120</stringProp> <stringProp name="ThreadGroup.duration">3600</stringProp>
<stringProp name="ThreadGroup.delay"></stringProp> <stringProp name="ThreadGroup.delay"></stringProp>
<boolProp name="ThreadGroup.same_user_on_next_iteration">false</boolProp> <boolProp name="ThreadGroup.same_user_on_next_iteration">false</boolProp>
<boolProp name="ThreadGroup.delayedStart">true</boolProp> <boolProp name="ThreadGroup.delayedStart">true</boolProp>
@@ -774,7 +774,7 @@
<stringProp name="HTTPSampler.port"></stringProp> <stringProp name="HTTPSampler.port"></stringProp>
<stringProp name="HTTPSampler.protocol"></stringProp> <stringProp name="HTTPSampler.protocol"></stringProp>
<stringProp name="HTTPSampler.contentEncoding">utf-8</stringProp> <stringProp name="HTTPSampler.contentEncoding">utf-8</stringProp>
<stringProp name="HTTPSampler.path">/api/v8.0/report/v8.0/repor/render-job</stringProp> <stringProp name="HTTPSampler.path">/api/v8.0/report/v8.0/report/render-job</stringProp>
<stringProp name="HTTPSampler.method">POST</stringProp> <stringProp name="HTTPSampler.method">POST</stringProp>
<boolProp name="HTTPSampler.follow_redirects">true</boolProp> <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
<boolProp name="HTTPSampler.auto_redirects">false</boolProp> <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
@@ -1128,7 +1128,7 @@
<stringProp name="filename"></stringProp> <stringProp name="filename"></stringProp>
</ResultCollector> </ResultCollector>
<hashTree/> <hashTree/>
<ResultCollector guiclass="StatVisualizer" testclass="ResultCollector" testname="Aggregate Report" enabled="false"> <ResultCollector guiclass="StatVisualizer" testclass="ResultCollector" testname="Aggregate Report" enabled="true">
<boolProp name="ResultCollector.error_logging">false</boolProp> <boolProp name="ResultCollector.error_logging">false</boolProp>
<objProp> <objProp>
<name>saveConfig</name> <name>saveConfig</name>
@@ -1165,7 +1165,7 @@
<stringProp name="filename"></stringProp> <stringProp name="filename"></stringProp>
</ResultCollector> </ResultCollector>
<hashTree/> <hashTree/>
<ResultCollector guiclass="StatGraphVisualizer" testclass="ResultCollector" testname="Aggregate Graph" enabled="false"> <ResultCollector guiclass="StatGraphVisualizer" testclass="ResultCollector" testname="Aggregate Graph" enabled="true">
<boolProp name="ResultCollector.error_logging">false</boolProp> <boolProp name="ResultCollector.error_logging">false</boolProp>
<objProp> <objProp>
<name>saveConfig</name> <name>saveConfig</name>
@@ -1202,7 +1202,7 @@
<stringProp name="filename"></stringProp> <stringProp name="filename"></stringProp>
</ResultCollector> </ResultCollector>
<hashTree/> <hashTree/>
<ResultCollector guiclass="RespTimeGraphVisualizer" testclass="ResultCollector" testname="Response Time Graph" enabled="false"> <ResultCollector guiclass="RespTimeGraphVisualizer" testclass="ResultCollector" testname="Response Time Graph" enabled="true">
<boolProp name="ResultCollector.error_logging">false</boolProp> <boolProp name="ResultCollector.error_logging">false</boolProp>
<objProp> <objProp>
<name>saveConfig</name> <name>saveConfig</name>