Files
quic-go/integrationtests/chrome_test.go
Lucas Clemente e2f5d72301 add an integration test using a dockered chrome via selenium
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
2016-06-05 15:57:24 +02:00

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"))
})
})