LearnNewsExamplesServices
Frontmatter
id6029
titleComponent Tests: Button
stateClosed
labels
enhancementhelp wantedgood first issuehacktoberfest
assigneesMialy333
createdAtOct 13, 2024, 6:13 PM
updatedAtNov 2, 2024, 1:58 PM
githubUrlhttps://github.com/neomjs/neo/issues/6029
authortobiu
commentsCount4
parentIssue6001
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtNov 2, 2024, 1:58 PM

Component Tests: Button

Closed v8.1.0 enhancementhelp wantedgood first issuehacktoberfest
tobiu
tobiu commented on Oct 13, 2024, 6:13 PM

We already have a starting point: https://github.com/neomjs/neo/tree/dev/test/components/files/button

This can get extended to test more config options, especially changing configs at run-time.

Some configs which are worth to get tested:

  1. text
  2. iconCls
  3. iconPosition
  4. badgeText
  5. badgePosition
  6. route
tobiu added the enhancement label on Oct 13, 2024, 6:13 PM
tobiu added the good first issue label on Oct 13, 2024, 6:13 PM
tobiu added the hacktoberfest label on Oct 13, 2024, 6:13 PM
tobiu added the help wanted label on Oct 13, 2024, 6:13 PM
tobiu cross-referenced by #5963 on Oct 13, 2024, 6:16 PM
Mialy333
Mialy333 Oct 13, 2024, 8:09 PM

Hi 👋🏽 Could you please assign me to this task? I'm already working on it. Thanks ! Best, Mialy

tobiu assigned to @Mialy333 on Oct 13, 2024, 8:43 PM
tobiu
tobiu Oct 13, 2024, 8:48 PM

now i can => it does require a comment inside the same ticket, otherwise devs do not show up inside the assignees list.

some background infos:

  • the apps & components which we want to test live within the app worker
  • the testing tool (siesta) runs inside the main thread
  • since there are no testing tools yet which can run inside a web worker, we do need async helper methods to create or modify neo instances from within the main thread.

if you want to get a better understanding how you would normally build apps: https://neomjs.com/dist/production/apps/portal/#/learn/tutorials.Earthquakes

best regards, tobi

SarthakBorude
SarthakBorude Oct 30, 2024, 8:22 PM

/assign

tobiu
tobiu Nov 2, 2024, 1:58 PM

Since the event has ended, i will close all hacktoberfest related tickets now. In case someone still wants to work on a related ticket, feel free to add a comment and we can reopen it.

tobiu closed this issue on Nov 2, 2024, 1:58 PM