Skip to content

Commit

Permalink
Merge pull request #1076 from ironmansoftware/fix-tests
Browse files Browse the repository at this point in the history
Fix some tests.
  • Loading branch information
adamdriscoll authored Sep 3, 2019
2 parents 0f742e5 + 16ef40b commit 586bf27
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
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

0 comments on commit 586bf27

Please sign in to comment.