Skip to content

Instantly share code, notes, and snippets.

Trần Văn Luận luandevpro

  • Viet Nam
Block or report user

Report or block luandevpro

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View ea.spec.js
/// <reference types="Cypress" />
context("test group" , () => {
it("a case test" , () => {
cy.visit('http://eaapp.somee.com/');
cy.contains("Login").click();
cy.url().should("include", "/Account/Login");
View ea.spec.js
/// <reference types="Cypress" />
context("test group" , () => {
it("a case test" , () => {
cy.visit('http://eaapp.somee.com/');
cy.contains("Login").click();
})
})
View it.js
it('should blah blah blah', function(){
// Test case goes here
})
View context.js
context('string name', function(){
// can nest more describe()'s here, or tests go here
});
View Dockerfile
FROM hasura/graphql-engine:latest
ENV DB_NAME d7tpjeaio1122voo
ENV DB_HOST ec2-184-74-216-48.compute-1.amazonaws.com
ENV DB_PORT 5432
ENV DB_USER mdtoogbscrflgh
ENV DB_PASSWORD 9e3876f94cdd0de56882d0dea121v3b267a836d04d24751428c41044a390b3b7a8d9
COPY entrypoint.sh /entrypoint.sh
View Terminal1
docker tag e73afdb61e30 gcr.io/nextjs-node-rest-api-startkit/hasura
View Dockerfile
# base node image
FROM alpine
RUN apk add --update nodejs nodejs-npm
WORKDIR /usr/src/app
ENV PORT 8080
ENV HOST 0.0.0.0
View Terminal1
docker tag <your-image-id> gcr.io/nextjs-node-rest-api-startkit/hello
View Terminal1
docker run -p 8080:8080 <your-image-id>
You can’t perform that action at this time.