<feed xmlns='http://www.w3.org/2005/Atom'>
<title>BMC/OpenBmc/webui-vue.git/tests/unit/AppHeader.spec.js, branch processor-chart</title>
<subtitle>Web-based user interface built on Vue.js for managing OpenBMC systems (mirror)</subtitle>
<id>https://git.radix-linux.su/BMC/OpenBmc/webui-vue.git/atom?h=processor-chart</id>
<link rel='self' href='https://git.radix-linux.su/BMC/OpenBmc/webui-vue.git/atom?h=processor-chart'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/OpenBmc/webui-vue.git/'/>
<updated>2021-08-27T01:32:14+00:00</updated>
<entry>
<title>Add system information on Appheader page</title>
<updated>2021-08-27T01:32:14+00:00</updated>
<author>
<name>Sukanya Pandey</name>
<email>sukapan1@in.ibm.com</email>
</author>
<published>2021-08-16T13:29:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/OpenBmc/webui-vue.git/commit/?id=4dd7eabfa4476e264e051dc0178a333452a6b175'/>
<id>urn:sha1:4dd7eabfa4476e264e051dc0178a333452a6b175</id>
<content type='text'>
- Model type and serial number are newly added system info data on
Appheader.
- On small screens and below system information(model type, serial number and
asset tag) will be hidden.
- On large screen and below model type and serial number will be visible but
asset tag will be hidden.
- For all other screens all the system info will be visible.

Signed-off-by: Sukanya Pandey &lt;sukapan1@in.ibm.com&gt;
Change-Id: Ia844a26f658083cbd5fa9c8f3f6bea8b65ddcd11
</content>
</entry>
<entry>
<title>Replace use of the term host with server</title>
<updated>2021-05-18T13:39:36+00:00</updated>
<author>
<name>Derick Montague</name>
<email>derick.montague@ibm.com</email>
</author>
<published>2021-05-06T23:17:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/OpenBmc/webui-vue.git/commit/?id=71114feb9a800d42f6eeddfa477077a8ab8e44f6'/>
<id>urn:sha1:71114feb9a800d42f6eeddfa477077a8ab8e44f6</id>
<content type='text'>
This patchset focuses on the global store use for server power
operations and impacts several pages in the interface.

For consistency, both in the UI and the code base, we are replacing
the term host with server. This change impacts both the user and the
developer experience. Maintaining consistency in naming allows both
developers and users to form a mental model of the overall system
and will help remove confusion when interacting with the UI and
editing the interface.

Testing:
1. Tested shutdown, power on, and reboot and verified the icons and
page sections in the site header and the server power operations page
update as expected during power operations.
2. Verified the one-time boot operations alert is displayed to the
user when changing the boot settings on the server power operations page
3 Tested factory reset and validated the correct information message
is displayed to the user with the server power off and on when
performing the factory reset functions.
4. Verified the SOL Console status icon updates correctly during
power operations.
5. Verified the alert message is displayed on the firmware update page
when the server is powered on.

Signed-off-by: Derick Montague &lt;derick.montague@ibm.com&gt;
Change-Id: I88499a746364ab80f16a8b350d550407d094e95d
</content>
</entry>
<entry>
<title>Resolve custom-event-name-casing lint warnings</title>
<updated>2020-11-12T20:44:36+00:00</updated>
<author>
<name>Sukanya Pandey</name>
<email>sukapan1@in.ibm.com</email>
</author>
<published>2020-10-29T06:03:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/OpenBmc/webui-vue.git/commit/?id=edb8a77437d95242ec1ddb98667b0c117a2fb36c'/>
<id>urn:sha1:edb8a77437d95242ec1ddb98667b0c117a2fb36c</id>
<content type='text'>
Signed-off-by: Sukanya Pandey &lt;sukapan1@in.ibm.com&gt;
Change-Id: I9eea4eac3b8cacc216fc9ad1011e51622622e75f
</content>
</entry>
<entry>
<title>Update failing unit tests</title>
<updated>2020-11-09T22:04:58+00:00</updated>
<author>
<name>Derick Montague</name>
<email>derick.montague@ibm.com</email>
</author>
<published>2020-10-27T13:21:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/OpenBmc/webui-vue.git/commit/?id=f833c7e336c09c1cd7fef424a8017e639d20dfa2'/>
<id>urn:sha1:f833c7e336c09c1cd7fef424a8017e639d20dfa2</id>
<content type='text'>
- Add babel plugin to handle Jest import of SVG. Without plugin the
test fails with a require.context() is undefined
- Update snapshot tests that have changed
- Removed globals from .eslintrc.js that were needed prior to
migrating from Mocha and Chai to Jest

Signed-off-by: Derick Montague &lt;derick.montague@ibm.com&gt;
Change-Id: Ibd01d2e629b5ecb47d072e277e4e9b5ae5c5f001
</content>
</entry>
<entry>
<title>Update linting packages to use latest</title>
<updated>2020-11-03T16:47:51+00:00</updated>
<author>
<name>Derick Montague</name>
<email>derick.montague@ibm.com</email>
</author>
<published>2020-10-21T21:20:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/OpenBmc/webui-vue.git/commit/?id=602e98aa32f82fd3b0c3d250c7cc1f8da971db24'/>
<id>urn:sha1:602e98aa32f82fd3b0c3d250c7cc1f8da971db24</id>
<content type='text'>
- 99% of changes were small syntax changes that were changed by the
lint command. There were a couple of small manual changes to meet the
property order patterns established as part of the vue:recommended
guidelines.

There are rules that were set from errors to warnings and new stories
are being opened to address those issues.

Testing:
- Successfully ran npm run serve
- Successfully ran npm run lint
- Verified functionality works as expected, e.g. success and failure use cases
- Resolved any JavaScript errors thrown to the console

Signed-off-by: Derick Montague &lt;derick.montague@ibm.com&gt;
Change-Id: Ie082f31c73ccbe8a60afa8f88a9ef6dbf33d9fd2
</content>
</entry>
<entry>
<title>Resolve broken unit tests</title>
<updated>2020-09-30T20:48:42+00:00</updated>
<author>
<name>Derick Montague</name>
<email>derick.montague@ibm.com</email>
</author>
<published>2020-09-21T17:21:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/OpenBmc/webui-vue.git/commit/?id=58a7a03cc6d822cbcae090959de83bcf1a8897c3'/>
<id>urn:sha1:58a7a03cc6d822cbcae090959de83bcf1a8897c3</id>
<content type='text'>
- Refactor broke snapshots and the logout functionality test

Signed-off-by: Derick Montague &lt;derick.montague@ibm.com&gt;
Change-Id: I31932b0553a8ca9e6e2a38235b7769fab2061ba6
</content>
</entry>
<entry>
<title>Use Jest as the test framework</title>
<updated>2020-05-05T12:24:59+00:00</updated>
<author>
<name>Derick Montague</name>
<email>derick.montague@ibm.com</email>
</author>
<published>2020-04-24T23:11:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/OpenBmc/webui-vue.git/commit/?id=ad2ceb6df979cff60e05b088a17ee29dfb95a9ff'/>
<id>urn:sha1:ad2ceb6df979cff60e05b088a17ee29dfb95a9ff</id>
<content type='text'>
- Remove mocha, chai, sinon and setup.js
- Add snapshot test to ApplicationHeader spec and remove skip nav link
test
- Add an update snapshot test that can be run if a page changes and the
snapshot needs to be updated
- Remove tight coupling of application structure and test in
ApplicationHeader spec

We are changing to Jest for a few reasons:
1. Jest is the testing framework used by most Vue applications and
has robust documentation
2. It requires less configuration and works out of the box
3. It includes the ability to perform snapshot testing of rendered
UI, which is much easier to maintain than trying to test specific UI
elements.

Signed-off-by: Derick Montague &lt;derick.montague@ibm.com&gt;
Change-Id: I7bca3613991ebae1fd464fa3a60f079d044ed7b4
</content>
</entry>
<entry>
<title>Resolve header and nav accessibility violations</title>
<updated>2020-04-09T14:21:33+00:00</updated>
<author>
<name>Derick Montague</name>
<email>derick.montague@ibm.com</email>
</author>
<published>2020-04-04T19:02:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/OpenBmc/webui-vue.git/commit/?id=6859203cebe3b6a31d23d55a3555bf36d6c73242'/>
<id>urn:sha1:6859203cebe3b6a31d23d55a3555bf36d6c73242</id>
<content type='text'>
- Add aria-label to nav sections in app-header and app-nav to meet
accessibility guidelines. When application has multiple nav elements
an aria-label is required to help screen readers identify the elements
- Remove b-nav child of b-nav-bar in app-header to fix invalid markup
generated by Bootstrap-vue components. Components were not used as
expected by the component library
- Replace b-nav-item with HTML &lt;li&gt; elements using nav-item css classes
in order to use button elements. Bootstrap-vue generates &lt;a&gt; elements
which is not the semantic HTML element to use for items that are not
links to other sections of the application.
- Removed aria-expanded and nav-open class from nav-trigger button
- Update appHeader unit test

Used a TDD approach to write all tests to fail and then updated the
methods and actions to make the tests suceed. Each test resulting in
a dispatched action should be called once only and with the expected
action.

Signed-off-by: Derick Montague &lt;derick.montague@ibm.com&gt;
Change-Id: I18af3727708526f814b7ceb77a0c28fda9f3d9bd
</content>
</entry>
<entry>
<title>Add spec files for the components</title>
<updated>2020-04-07T16:36:06+00:00</updated>
<author>
<name>Sukanya Pandey</name>
<email>sukapan1@in.ibm.com</email>
</author>
<published>2020-03-26T11:40:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/OpenBmc/webui-vue.git/commit/?id=98059c92dfc1b6f30ffbe02f4ae01e7cba30f8e9'/>
<id>urn:sha1:98059c92dfc1b6f30ffbe02f4ae01e7cba30f8e9</id>
<content type='text'>
 - AppHeader.js
 - AppNavigation.js

Signed-off-by: Sukanya Pandey &lt;sukapan1@in.ibm.com&gt;
Change-Id: I55bbd16349dcf134b68fe33ba7cc26f29a98cfc7
</content>
</entry>
</feed>
