Skip to content

Commit 9d83fe9

Browse files
authored
fix (#1244)
1 parent ba3a54d commit 9d83fe9

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

test/e2e/devsandbox-dashboard/header_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package sandboxui
22

33
import (
4+
"strings"
45
"testing"
56

67
sandboxui "github.com/codeready-toolchain/toolchain-e2e/testsupport/devsandbox-dashboard"
@@ -37,6 +38,8 @@ func TestHeader(t *testing.T) {
3738

3839
h1Text, err = salesPage.Locator("h1").TextContent()
3940
require.NoError(t, err)
41+
// replace non-breaking space with regular space
42+
h1Text = strings.ReplaceAll(h1Text, "\u00a0", " ")
4043
require.Contains(t, h1Text, "Contact Red Hat")
4144

4245
require.NoError(t, salesPage.Close())

0 commit comments

Comments
 (0)