forked from quic-go/quic-go
this commit also moves the {Before,After}Suite functions from the
integration_test.go file into the integrationtests_suite_test.go file,
and adds the docker-specific hooks.
ref #162
17 lines
414 B
Go
17 lines
414 B
Go
package integrationtests
|
|
|
|
import (
|
|
. "github.com/onsi/ginkgo"
|
|
. "github.com/onsi/gomega"
|
|
)
|
|
|
|
var _ = Describe("Chrome tests", func() {
|
|
It("loads a simple hello world page using quic", func() {
|
|
err := wd.Get("https://quic.clemente.io/hello")
|
|
Expect(err).NotTo(HaveOccurred())
|
|
source, err := wd.PageSource()
|
|
Expect(err).NotTo(HaveOccurred())
|
|
Expect(source).To(ContainSubstring("Hello, World!\n"))
|
|
})
|
|
})
|