user
04/28/2021, 8:18 PMfuture-gold-77198
04/28/2021, 10:43 PMuser
04/28/2021, 10:54 PMuser
04/28/2021, 10:54 PMuser
04/28/2021, 10:54 PMuser
04/28/2021, 10:55 PMuser
04/29/2021, 12:04 AM2021-04-28T23:50:56.8209037Z ##[section]Starting: Run e2e Tests
2021-04-28T23:50:56.8427976Z ==============================================================================
2021-04-28T23:50:56.8428386Z Task : Command line
2021-04-28T23:50:56.8428732Z Description : Run a command line script using Bash on Linux and macOS and cmd.exe on Windows
2021-04-28T23:50:56.8429051Z Version : 2.182.0
2021-04-28T23:50:56.8429311Z Author : Microsoft Corporation
2021-04-28T23:50:56.8429696Z Help : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/command-line
2021-04-28T23:50:56.8430125Z ==============================================================================
2021-04-28T23:50:58.2687046Z Generating script.
2021-04-28T23:50:58.2789311Z Script contents:
2021-04-28T23:50:58.2796521Z cd "C:\agent2\_work\r2\a\tests" && npx cypress@6.2.0 run --browser chrome --headless --spec src\Tests\integration\alphaledger\build-verification\GSHP\gshp.spec.js --config baseUrl=https://org.dev.alphaledger.com
2021-04-28T23:50:58.3221178Z ========================== Starting Command Output ===========================
2021-04-28T23:50:58.3444134Z ##[command]"C:\Windows\system32\cmd.exe" /D /E:ON /V:OFF /S /C "CALL "C:\agent2\_work\_temp\07a08bd5-42f5-4bb6-ae84-8f8f7e70491b.cmd""
2021-04-28T23:51:43.5665883Z npm ERR! code ELIFECYCLE
2021-04-28T23:51:43.5688189Z npm ERR! errno 1
2021-04-28T23:51:43.5689053Z npm ERR! cypress@6.2.0 postinstall: `node index.js --exec install`
2021-04-28T23:51:43.5689683Z npm ERR! Exit status 1
2021-04-28T23:51:43.5690122Z npm ERR!
2021-04-28T23:51:43.5690622Z npm ERR! Failed at the cypress@6.2.0 postinstall script.
2021-04-28T23:51:43.5691319Z npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
user
04/29/2021, 12:04 AMuser
04/29/2021, 1:24 PMbulky-sundown-74498
04/29/2021, 2:58 PMbaseUrl
and do google stuff if you want.
I know people found a way to automate cypress to buy them a PlayStation 5wonderful-match-15836
04/30/2021, 1:29 PMuser
05/01/2021, 9:21 PMstocky-dream-36427
05/02/2021, 6:51 PM/// <reference types="cypress" />
stocky-dream-36427
05/02/2021, 6:51 PMuser
05/02/2021, 7:50 PMgray-kilobyte-89541
05/03/2021, 2:00 PMuser
05/07/2021, 8:38 PMstocky-dream-36427
05/07/2021, 9:48 PMadamant-stone-67144
05/10/2021, 7:55 PMuser
05/10/2021, 10:01 PMuser
05/10/2021, 10:01 PMdescribe("test", () => {
it("test", () => {
cy.task("query", {
sql: `select * from "user" u where u.first_name = ('Cypress') and u.last_name = ('Issuer')`
// values: [ "InStock", 40 ]
}).then(res => {
expect(res.rows.length).to.be.greaterThan(0)
})
// your cy assertions here
});
});
user
05/10/2021, 10:01 PMmodule.exports = (on) => {
on('task', {
query ({sql, values}){
return client.query(sql, values)
}
})
}
user
05/10/2021, 10:02 PMuser
05/10/2021, 10:08 PMconst { Client } = require('pg')
const client = new Client({
user: '',
host: '',
database: '',
password: '',
port: ,
})
client.connect()
adamant-stone-67144
05/11/2021, 3:07 AMsparse-portugal-43867
05/11/2021, 11:39 AMsparse-portugal-43867
05/11/2021, 1:12 PMlimited-keyboard-75773
05/12/2021, 12:50 AMstocky-dream-36427
05/12/2021, 12:59 AMstocky-dream-36427
05/12/2021, 12:59 AM