Skip to content
This repository has been archived by the owner on Feb 13, 2023. It is now read-only.

E2E fixes #25

Merged
merged 12 commits into from
Jun 9, 2022
Merged

E2E fixes #25

merged 12 commits into from
Jun 9, 2022

Conversation

guypritchard
Copy link
Contributor

@guypritchard guypritchard commented Jun 7, 2022

This is a list of changes I made to get the E2E demo working.

There's something not quite right about the PostMessageAsync method of the chat controller. The original input type was a string - but there were some escaping issues so I fell back on a content scraping approach to get things 'working'. Should this message have a concrete type? Something feels off here.

I added some logging to display the DMR callback messages for the demo, but could be useful for people running locally until we have some actual code doing things with the messages.

I also added the capability to run multiple bots by setting a name in configuration.

...and a few tests.

Look at this one carefully - it was a bit hack and slash to get this going.

Base automatically changed from feature/15-mock-bot-headers to main June 8, 2022 08:12
@guypritchard guypritchard marked this pull request as ready for review June 8, 2022 16:49
Copy link
Contributor

@decodingahmed decodingahmed left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've added a little nit-pick but otherwise this work is golden. Ship it 😃

src/MockBot.Api/Services/Dmr/DmrServiceSettings.cs Outdated Show resolved Hide resolved
@github-actions
Copy link

github-actions bot commented Jun 9, 2022

Package Line Rate Branch Rate Complexity Health
MockBot.Api 91% 63% 70
Summary 91% (250 / 276) 63% (29 / 46) 70

Minimum allowed line rate is 80%

@guypritchard guypritchard merged commit 478b3d0 into main Jun 9, 2022
@guypritchard guypritchard deleted the feature/furtherfixes branch June 9, 2022 10:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants