Skip to content
This repository has been archived by the owner on Oct 19, 2023. It is now read-only.

add manual test for AutProxy #131

Open
wants to merge 3 commits into
base: universal-sdk
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions DotNet/overrides.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ module.exports = {
'should return browserInfo in getAllTestResults': {skipEmit: true},
'should waitBeforeCapture in open': {skipEmit: true},
'should waitBeforeCapture in check': {skipEmit: true},
'AUTproxy should proxy resources test manually only': { skipEmit: true },
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Codacy has a fix for the issue: Strings must use doublequote.

Suggested change
'AUTproxy should proxy resources test manually only': { skipEmit: true },
"AUTproxy should proxy resources test manually only": {skipEmit: true},


// TODO verify and enable
'should send agentRunId': {skipEmit: true},
Expand Down
10 changes: 10 additions & 0 deletions coverage-tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -2179,4 +2179,14 @@ test('should send agentRunId', {
assert.equal(info1.startInfo.agentRunId, info2.startInfo.agentRunId)
},
})
test('AUTproxy should proxy resources test manually only', {
vg: true,
config: { autProxy: { proxy: { url: 'localhost:8888', isHttpOnly: true }, domains: ['example.com'], AUTProxyMode: 'Block' } },
test({ driver, eyes, assert }) {
driver.visit('https://demo.applitools.com/app.html')
eyes.open({ appName: 'Applitools Eyes SDK', viewportSize: { width: 800, height: 600 } })
eyes.check({ isFully: true, disableBrowserFetching: true })
assert.throws(() => void eyes.close(false))
}
})
// #endregion
1 change: 1 addition & 0 deletions java/overrides.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ module.exports = {

'should waitBeforeCapture in open': { skipEmit: true },
'should waitBeforeCapture in check': { skipEmit: true },
'AUTproxy should proxy resources test manually only': { skipEmit: true },
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Codacy has a fix for the issue: Strings must use doublequote.

Suggested change
'AUTproxy should proxy resources test manually only': { skipEmit: true },
"AUTproxy should proxy resources test manually only": {skipEmit: true},


// TODO verify and enable
'should send agentRunId': {skipEmit: true},
Expand Down
2 changes: 2 additions & 0 deletions js/overrides.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,6 @@ module.exports = {
'should send ignore region by selector with vg': {config: {branchName: 'universal-sdk'}}, // was skipped
'should send floating region by coordinates with vg': {config: {branchName: 'universal-sdk'}}, // was skipped
'should send accessibility regions by selector with vg': {config: {branchName: 'universal-sdk'}}, // was v1

'AUTproxy should proxy resources test manually only': {skip: true},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Codacy has a fix for the issue: Strings must use doublequote.

Suggested change
'AUTproxy should proxy resources test manually only': {skip: true},
"AUTproxy should proxy resources test manually only": {skip: true},

}
1 change: 1 addition & 0 deletions python/overrides.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ module.exports = {

'should waitBeforeCapture in open': { skipEmit: true },
'should waitBeforeCapture in check': { skipEmit: true },
'AUTproxy should proxy resources test manually only': { skipEmit: true },
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Codacy has a fix for the issue: Strings must use doublequote.

Suggested change
'AUTproxy should proxy resources test manually only': { skipEmit: true },
"AUTproxy should proxy resources test manually only": {skipEmit: true},


// TODO verify and enable
'should send agentRunId': {skipEmit: true},
Expand Down
1 change: 1 addition & 0 deletions ruby/overrides.js
Original file line number Diff line number Diff line change
Expand Up @@ -184,4 +184,5 @@ module.exports = {
'should return browserInfo in getAllTestResults': {skipEmit: true},
'should waitBeforeCapture in open': { skipEmit: true },
'should waitBeforeCapture in check': { skipEmit: true },
'AUTproxy should proxy resources test manually only': { skipEmit: true },
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Codacy has a fix for the issue: Strings must use doublequote.

Suggested change
'AUTproxy should proxy resources test manually only': { skipEmit: true },
"AUTproxy should proxy resources test manually only": {skipEmit: true},

}