We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba3a54d commit 9d83fe9Copy full SHA for 9d83fe9
1 file changed
test/e2e/devsandbox-dashboard/header_test.go
@@ -1,6 +1,7 @@
1
package sandboxui
2
3
import (
4
+ "strings"
5
"testing"
6
7
sandboxui "github.com/codeready-toolchain/toolchain-e2e/testsupport/devsandbox-dashboard"
@@ -37,6 +38,8 @@ func TestHeader(t *testing.T) {
37
38
39
h1Text, err = salesPage.Locator("h1").TextContent()
40
require.NoError(t, err)
41
+ // replace non-breaking space with regular space
42
+ h1Text = strings.ReplaceAll(h1Text, "\u00a0", " ")
43
require.Contains(t, h1Text, "Contact Red Hat")
44
45
require.NoError(t, salesPage.Close())
0 commit comments