Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix some tests. #1076

Merged
merged 2 commits into from
Sep 3, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/UniversalDashboard.Materialize/Tests/navbar.tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Describe "Navbar" {
)

It "should have the correct colors" {
Find-SeElement -Driver $Driver -ClassName 'ud-navbar' | Get-SeElementCssValue -Name 'background-color' | Should be 'rgb(36, 81, 131)'
Find-SeElement -Driver $Driver -ClassName 'ud-navbar' | Get-SeElementCssValue -Name 'background-color' | Should be 'rgb(63, 81, 181)'
Find-SeElement -Driver $Driver -ClassName 'ud-navbar' | Get-SeElementCssValue -Name 'color' | Should be 'rgb(255, 255, 255)'
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/UniversalDashboard.UITest/Integration/Theme.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ Describe "Theme" {
It "should generate the correct theme" {
$Theme = Invoke-WebRequest http://localhost:10001/api/internal/dashboard/theme -WebSession $ud

$Theme.Content.Contains(".ud-dashboard {`r`n`tbackground-color : #234234;`r`n`tcolor : #959595;`r`n}`r`n.ud-table {`r`n`tbackground-color : #123123;`r`n}`r`n") | should be $true
$Theme.Content.Contains(".ud-dashboard {`r`n`tbackground-color : #EEEEEE;`r`n`tcolor : #111111;`r`n}`r`n.ud-table {`r`n`tbackground-color : #123123;`r`n}`r`n") | should be $true
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/UniversalDashboard.UITest/Manifest.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Get-UDDashboard | Stop-UDDashboard
Describe "Manifest" {

It "should have correct version" {
(Get-Module 'UniversalDashboard.Community').Version | Should be "2.5.2"
(Get-Module 'UniversalDashboard.Community').Version | Should be "2.5.3"
}

It "should have correct exported commands" {
Expand Down